This is a small example of the composite component pattern described here. TL;DR: Composites divide responsibilities between three component-types:
- Connectors - responsible for handilng application data and providing its child components
- Components - responsible for handling UI logic and state
- Blocks / Elements - responsible for styling
First, install dependencies:
yarn install
Then start the server:
npm start