React PropTypes & Flow types cheat sheet
Cheng Lou
3575

Great one!

One thing I love about propTypes is that (the runtime) errors are a function so you can validate all sort of things (three dimensional arrays, 5 characters in string). Maybe this could be a feature for babel-plugin-typedef.

Like what you read? Give Gal Schlezinger a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.