cliff-effects icon indicating copy to clipboard operation
cliff-effects copied to clipboard

Add `propTypes` to component definitions

Open turnerhayes opened this issue 7 years ago • 2 comments

Prop types are a handy way of both adding run-time type validation and providing some documentation on the available props in the code. I believe that React disables prop type checking in production environments, so it shouldn't add any (or much) overhead in production.

turnerhayes avatar Oct 24 '18 22:10 turnerhayes

If people are on board with this, I'd like to do at least a few of these, they're not especially difficult, but I want some practice implementing them.

dylanesque avatar Oct 25 '18 15:10 dylanesque

Remember to add these new ones as discussion items in the thread when the Alert System posts it so they don't get left behind!

knod avatar Oct 25 '18 17:10 knod