DEV Community

Discussion on: Default Props in React/TS - Part Deux

Collapse
 
bytebodger profile image
Adam Nathaniel Davis

From the article above, Requirement #7:

I don't wanna use any solutions that are in imminent danger of being deprecated. (This is why I'm not using the native defaultProps feature that currently ships with React. There's a lot of chatter about removing this feature for functional components.)

I also discussed the presumed deprecation plans in the previous article.

Collapse
 
anuraghazra profile image
Anurag Hazra

Ohh I see, okay this makes sense. :D