react

To use PropTypes in React or not

We’ve developed a simple rule of thumb to follow on this question; “Don’t. Use. Bloody. PropTypes. They’re just annoying.” Why do people use PropTypes? One way to catch and debug errors in your software as you develop is the use of typed programming. JavaScript didn’t used to have that and that was thought of as... View Article
Tags:
February 1, 2019 10:39 pm