DEV Community

Discussion on: React Pattern Question

Collapse
 
simpgeek profile image
Nigel Kirby

Check into reactjs.org/docs/hooks-faq.html#ho...

Set state and actions in the parent if the parent needs to know them.