https://github.com/infeng/safely-use-react-context
How to safely use React context
https://github.com/infeng/safely-use-react-context
Last synced: 6 months ago
JSON representation
How to safely use React context
- Host: GitHub
- URL: https://github.com/infeng/safely-use-react-context
- Owner: infeng
- License: mit
- Created: 2017-05-26T02:22:28.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-26T02:25:11.000Z (about 9 years ago)
- Last Synced: 2024-12-30T17:13:34.060Z (over 1 year ago)
- Language: TypeScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# how to safely use React context
## Introduction
Use subscription to make ShouldComponentUpdate and Context can work together.
## Test
```bash
npm install
```
```bash
npm start
```