react-contextual
react-contextual copied to clipboard
🚀 react-contextual is a small (less than 1KB) helper around React 16s new context api
Was getting this error when running tests. It's a known issue apparently with an easy fix: https://github.com/jsdom/jsdom/issues/2304
The subscriber HOC works fine, but the Component causes all children to re-mount on any prop changes.  See demo here: https://codesandbox.io/s/4jr86n2w77 Typing into `Component` text box loses focus on...
I'm getting an unexpected error when inheriting from a `@subscribe`'d class, can anyone tell me if I'm doing this right? https://codesandbox.io/s/9ynn07091o ``` import React, { Component } from "react"; import...
Maybe it would be good to declare selectors inside the definition of the store and pass them the store automatically, so we don't have to pass the store back when...
This is a nice library - thank you - but I'm wondering... by what measure is it under 1KB? Or has that tagline just not been updated in a while?...
Hello, Most of sandboxes in the docs are dead or broken links. Only the Global context is still working.
_While looking for a way to fix #24, I wondered off, so I'm open to as big of suggestions as anyone wants to give._ Currently, external stores and Providers are...
Reacts dynamic context is still new but due to its powerful nature lots of patterns and best practices will emerge from it. It can already make large parts of redux...
It looks like the actions in a store get bound to the Provider when it renders. This means if you unmount a provider and later provide the same store, the...