We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tool should replace __DEV__ flags in production mode to false
__DEV__
false
dev mode
if (__DEV__) { invariant(false, 'Some message') } otherLogic()
prod mode
otherLogic()
The text was updated successfully, but these errors were encountered:
yarastqt
No branches or pull requests
Info
Tool should replace
__DEV__
flags in production mode tofalse
Example
dev mode
prod mode
The text was updated successfully, but these errors were encountered: