Skip to content

[TrapFocus] Prevent possible crash in React 17#22262

Merged
eps1lon merged 1 commit into
mui:nextfrom
eps1lon:feat/TrapFocus/deferred-effect-cleanup-guard
Aug 19, 2020
Merged

[TrapFocus] Prevent possible crash in React 17#22262
eps1lon merged 1 commit into
mui:nextfrom
eps1lon:feat/TrapFocus/deferred-effect-cleanup-guard

Conversation

@eps1lon

@eps1lon eps1lon commented Aug 18, 2020

Copy link
Copy Markdown
Member

Includes a part of the react@next patch into our release.

This makes it easier to test our v5 with React 17. Will backport it to master since it's fairly cheap.

I think generally we won't recommend the next v4 release for production anyway. It's for deprecations only and if we introduce bugs in that release we don't want to put time into fixing those anyway. It's only meant as a migration helper.

@eps1lon eps1lon added type: bug It doesn't behave as expected. scope: focus trap Changes related to the focus trap. labels Aug 18, 2020
@mui-pr-bot

Copy link
Copy Markdown

Details of bundle changes

Generated by 🚫 dangerJS against 6c2c2c1

@eps1lon
eps1lon merged commit 5a45d2c into mui:next Aug 19, 2020
@eps1lon
eps1lon deleted the feat/TrapFocus/deferred-effect-cleanup-guard branch August 19, 2020 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: focus trap Changes related to the focus trap. type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants