-
Notifications
You must be signed in to change notification settings - Fork 46.7k
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
Add 'DEV' flag #9569
Comments
I think this is a non-goal (as it's something we'd implement on DevTools side with duck type checks etc). Just providing a boolean as an argument to the |
One thing we need to ensure is it highlights in DEV mode even if React thinks it's in prod mode. For example if you set |
Also the opposite: it should show as DEV if you uglify but don't set |
I think this was fixed in #9586, and we won’t be bringing it to 15.x. |
We want to have a check for whether React is in 'DEV' mode, which would work for all previous versions of React.
The text was updated successfully, but these errors were encountered: