Skip to content

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

02e97ca · Jun 12, 2020

History

20 Commits
Jun 12, 2020
Jul 5, 2018
Mar 10, 2020
Jul 5, 2018
Jul 5, 2018
Mar 10, 2020
Mar 10, 2020
Mar 10, 2020

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/