React Guide to Props – Part III

Previously we’ve learned how to pass props in react and also how to indirectly communicate between components using props. Today, we’re getting to the finale of this props guide series, where we’ll talk about how to check whether we passed correct props.
React Props – Make Sure You Are Typechecking
As the application you’re working on grows, you’ll definitely want to add some kind of prop typechecking – you don’t want bugs you’ll work on for hours or days before you realize you just sent an empty array instead of an object!