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

Support React 18 strict mode #100

Merged
merged 4 commits into from
Jun 24, 2023
Merged

Support React 18 strict mode #100

merged 4 commits into from
Jun 24, 2023

Conversation

guyca
Copy link
Collaborator

@guyca guyca commented Jun 24, 2023

React 18 changes how strict mode works in DEV - When a component is mounted, React now unmounts it then immediately mounts it again with the previous state. This surfaced a crash that mostly happened during hot refresh.

React 18 changes how strict mode works in DEV - When a component is mounted, React now unmounts it then immediately mounts it again with the previous state.
This surfaced a crash that mostly happened during hot refresh.
@guyca guyca merged commit c481353 into master Jun 24, 2023
2 checks passed
@guyca guyca deleted the react18 branch June 24, 2023 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant