Skip to content

Files

Latest commit

fcd8402 · Mar 10, 2020

History

History
13 lines (9 loc) · 1.09 KB

File metadata and controls

13 lines (9 loc) · 1.09 KB

react-composability-over-configurability

Build Status Slack Greenkeeper badge

React gives you the power of composing components into each other with its children prop. You should make use of it rather than passing "configurational" props to one complex component. That way you keep your components lightweight and give yourself lots of flexibility for adjustments. Read more about it.

Installation

  • git clone git@github.com:the-road-to-learn-react/react-composability-over-configurability.git
  • cd react-composability-over-configurability
  • npm install
  • npm start
  • visit http://localhost:3000/