Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix clearInterval bug for ie 10 and 11 #1490

Merged
merged 18 commits into from
Jun 16, 2021
Merged

Conversation

xinhailishi
Copy link
Contributor

@xinhailishi xinhailishi commented Jun 7, 2021

@xinhailishi xinhailishi changed the title fix clearInterval bug for ie 10 and 11 fix clearInterval bug and ShadowDOM bug for ie 10 and 11 Jun 7, 2021
@kuitos
Copy link
Member

kuitos commented Jun 10, 2021

Could you pls revert the unrelated changes?

@xinhailishi
Copy link
Contributor Author

xinhailishi commented Jun 10, 2021

Could you pls revert the unrelated changes?

Could you tell me what is the unrelated change? I just think all is needed.

@xinhailishi
Copy link
Contributor Author

Could you pls revert the unrelated changes?

I update the linked issue #1489 @kuitos .
now there is no unrelated change.

src/sandbox/snapshotSandbox.ts Outdated Show resolved Hide resolved
@xinhailishi xinhailishi requested a review from kuitos June 15, 2021 03:01
afterMount = [],
beforeMount = [],
beforeLoad = [],
} = mergeWith({}, getAddOns(global, assetPublicPath), lifeCycles, (v1, v2) => concat(v1 ?? [], v2 ?? []));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

代码格式不要修改,需要还原回去

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个应该是 prettier 自动格式化的

offGlobalStateChange,
}: Record<string, CallableFunction> = getMicroAppStateActions(appInstanceId);
const { onGlobalStateChange, setGlobalState, offGlobalStateChange }: Record<string, CallableFunction> =
getMicroAppStateActions(appInstanceId);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里也是,代码格式不要修改,需要还原回去

src/sandbox/patchers/interval.ts Outdated Show resolved Hide resolved
src/sandbox/patchers/interval.ts Outdated Show resolved Hide resolved
src/sandbox/patchers/interval.ts Outdated Show resolved Hide resolved
src/sandbox/patchers/interval.ts Outdated Show resolved Hide resolved
src/sandbox/snapshotSandbox.ts Outdated Show resolved Hide resolved
src/sandbox/snapshotSandbox.ts Outdated Show resolved Hide resolved
src/sandbox/snapshotSandbox.ts Outdated Show resolved Hide resolved
afterMount = [],
beforeMount = [],
beforeLoad = [],
} = mergeWith({}, getAddOns(global, assetPublicPath), lifeCycles, (v1, v2) => concat(v1 ?? [], v2 ?? []));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个应该是 prettier 自动格式化的

src/sandbox/snapshotSandbox.ts Outdated Show resolved Hide resolved
src/loader.ts Outdated Show resolved Hide resolved
kuitos
kuitos previously approved these changes Jun 16, 2021
Copy link
Member

@kuitos kuitos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls submit another pr to fix shadow dom compatible issue

@kuitos kuitos merged commit ff12b7f into umijs:master Jun 16, 2021
@kuitos kuitos changed the title fix clearInterval bug and ShadowDOM bug for ie 10 and 11 fix clearInterval bug for ie 10 and 11 Jun 16, 2021
@xinhailishi
Copy link
Contributor Author

Pls submit another pr to fix shadow dom compatible issue

ok @kuitos

kuitos added a commit that referenced this pull request May 29, 2022
@HardyDou
Copy link

现在还在用qiankun 吗?用的怎么样? @xinhailishi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants