3 ms·
> With class components, my state/props are clearly defined within the constructor and/or PropTypes. What do you mean? PropTypes work just as well with functio
by bryik 6y ago
> With class components, my state/props are clearly defined within the constructor and/or PropTypes.
What do you mean? PropTypes work just as well with functional components as they do with class components.