Browse Source
I've seen some people unaware about the fact that you can still specify `.propTypes` and `.defaultProps` when you are defining a functional component by setting them as properties of the function. I thought clarifying this in the docs could help!main
1 changed files with 1 additions and 0 deletions
Loading…
Reference in new issue