Detalhes do pacote

@webkrafters/react-observable-context

webKrafters618MIT5.0.4

Observable react context - Update-friendly context. Prevents automatic total component tree tear-down and re-rendering during context updates.

connect, context, eagle eye, hoc

readme (leia-me)

Eagle Eye

TypeScript GitHub Workflow Status coverage NPM Maintenance build size Downloads GitHub package.json version

React-Observable-Context [Eagle Eye]

  • 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?

Please see full documentation here:

eagleeye.js.org

License

MIT