Showcasing how render prop components can be used to manage state. In this example, a render prop component with a child as a function is used to manage state of a functional component. Read more about it.
git clone [email protected]:the-road-to-learn-react/react-render-prop-component-for-state.git
- cd react-render-prop-component-for-state
- npm install
- npm start
- visit
http://localhost:3000