DEV Community

Discussion on: 10 Concerns & How we can make the whole React codebase cleaner

Collapse
 
ronnewcomb profile image
Ron Newcomb

Depending on codebase, #5's propTypes has been replaced by "use Typescript".

Good article though.

Collapse
 
ashishsurana profile image
Ashish Surana

Yes, Using Flow and Typescript gives you way more flexibility and advantages as compared to propTypes because they can be beneficial in pure functions as well as react components.
Thanks a lot for opinion.