Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 1000 Bytes

File metadata and controls

13 lines (9 loc) · 1000 Bytes

react-render-prop-component-for-state

Build Status Slack Greenkeeper badge

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.

Installation

  • git clone git@github.com: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