- 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.setState
Indexing. - 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