Adam Pietrasiak
Jul 25, 2017 · 1 min read

About prop-types I’d say using flow / typescript feels better than prop-types. It also offers great idea about what is some component accepting as props etc (without even opening the file that contains it). Have you considered using it?

Also I’d say that transpiled code from babel is not quite *fair* example here. Most of it’s boilerplate code needs to be inserted there only once, so when you have more components, this additional code size get’s really minor.

    Adam Pietrasiak

    Written by