the-road-to-learn-react / react-render-prop-component-for-state

An example implementation of React's render props for managing state on behalf of a component

Home Page:https://roadtoreact.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

An example implementation of React's render props for managing state on behalf of a component

https://roadtoreact.com


Languages

Language:JavaScript 75.1%Language:HTML 20.1%Language:CSS 4.8%