Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

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
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants