https://github.com/maximeheckel/react-sub-components-context
This project is an example implementation of the sub-component pattern using the new Context API
https://github.com/maximeheckel/react-sub-components-context
Last synced: 2 months ago
JSON representation
This project is an example implementation of the sub-component pattern using the new Context API
- Host: GitHub
- URL: https://github.com/maximeheckel/react-sub-components-context
- Owner: MaximeHeckel
- Created: 2018-03-27T03:07:14.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-21T18:57:32.000Z (about 7 years ago)
- Last Synced: 2025-02-07T17:34:48.102Z (4 months ago)
- Language: JavaScript
- Size: 151 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 `[email protected]`
This project was bootstrapped with [Create React App](https://github.com/facebookincubator/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 machineThen, 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"