|
COMPATIBLE WITH REACT VERSIONS 16.8 to 18.x.x. FOR REACT 19.2.0 AND ABOVE, PLEASE USE THE React Eagle Eye |
- Ready for use anywhere in the app. No Provider components needed.
- Automatically prevents unnecessary cascading re-renders when used with the
connectStream API. - 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.
- OOB Support for framework-agnostic state sharing among applications. Simply create an Auto Immutable instance to pass around as the
valueargument for this or any Eagle Eye based state manager instances.
Name: React-Observable-Context
Moniker: Legacy 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 install --save @webkrafters/react-observable-context
May also see What's Changed?
Full Documentation: react-observable-context.js.org
GPLv3
