How to allow a child component to access and modify a parent's state in React
Let’s say your React application has a smart component (i.e. the component has its own state), and you want a child component to be able to not only access, but actually modify that parent component’s state.
Aug 14, 2020
2 min read