Skip to content

alanbsmith/composite-component-pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Composite Component Pattern Example

Overview

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

Up & Running

First, install dependencies:

yarn install

Then start the server:

npm start

About

A small example of the composite component pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published