Skip to content

This project is an example implementation of the sub-component pattern using the new Context API

Notifications You must be signed in to change notification settings

MaximeHeckel/react-sub-components-context

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React sub-components with new Context API

About

This project is an example implementation of the sub-component pattern using the new Context API in react@16.3.0

This project was bootstrapped with Create React App.

Run the project

Use one of the following commands:

  • docker-compose build && docker-compose up for the dockerized version (good if you want to give the project a quick try without having to install anything)
  • yarn && yarn start if you have already have a node environment on your machine

Then, modify any file and changes will be picked up by webpack and refresh your browser.

Dependencies

"react": "16.3.0",
"react-dom": "16.3.0",
"react-scripts": "1.1.1"

About

This project is an example implementation of the sub-component pattern using the new Context API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published