|
COMPATIBLE WITH REACT VERSIONS 16.8 to 18.x.x. A VERSION 7.0.0 FOR REACT 19+ IS CURRENTLY UNDER DEVELOPMENT. |
- Auto-immutable update-friendly context. See
store.setState. - A context bearing an observable consumer store.
- Recognizes negative array indexing. Please see Property Path and
store.setStateIndexing. - Only re-renders subscribing components (clients) on context state changes.
- Subscribing component decides which context state properties' changes to trigger its update.
Name: React-Observable-Context
Moniker: Eagle Eye
Usage: Please see Getting Started.
Demo: Play with the app on codesandbox
If sandbox fails to load app, please refresh dependencies on its lower left.
Install:
npm i -S react-eagleeye
Alternate: npm i -S @webkrafters/react-observable-context
May also see What's Changed?
MIT
