Skip to content

the-road-to-learn-react/react-composability-over-configurability

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/