DEV Community


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

ronnewcomb profile image
Ron Newcomb

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

Good article though.

ashishsurana profile image
Ashish Surana Author

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.