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

Proptypes killswitch / error suppression #266

Open
nruhe opened this issue Mar 26, 2019 · 1 comment
Open

Proptypes killswitch / error suppression #266

nruhe opened this issue Mar 26, 2019 · 1 comment

Comments

@nruhe
Copy link

nruhe commented Mar 26, 2019

Hello! I'm currently working in a code base that is mid-refactor. Unfortunately, we've used propTypes poorly in the past and my console is being swarmed with warnings that are obfuscating important debug errors. Is there any way to suppress all propType warnings temporarily without setting the env to prod?

@ljharb
Copy link
Collaborator

ljharb commented Mar 26, 2019

Nope. My suggestion is to, one at a time, fix the propType warnings, until they're gone.

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

No branches or pull requests

2 participants