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

Wrap in StrictMode by default #8557

Closed
gaearon opened this issue Feb 26, 2020 · 0 comments · Fixed by #8558
Closed

Wrap in StrictMode by default #8557

gaearon opened this issue Feb 26, 2020 · 0 comments · Fixed by #8558

Comments

@gaearon
Copy link
Contributor

gaearon commented Feb 26, 2020

The default template should wrap App into <React.StrictMode>. The ecosystem is mostly ready, and it's time to make a move in this direction before it becomes more prominent in future React versions.

You can still remove it if you want, but it's the best practice.

@lock lock bot locked and limited conversation to collaborators Mar 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant