react-contextual
react-contextual copied to clipboard
🚀 react-contextual is a small (less than 1KB) helper around React 16s new context api
store.js ``` componentWillUnmount() { if (this.props.id) removeNamedContext(this.props.id) } ``` namedContext.js ``` componentWillUnmount() { removeNamedContext(this.name) } ``` context.js ``` const createContext = React.createContext const providers = new Map() const ProviderContext =...
Hi guys! I am somehow a bit lost on how to properly populate a store with async data coming from a HOC. I am running a Meteor app with a...
Any plan for a typescript type definition file? I'm too much of a ts newby to tackle myself, but it would be a delight to be a beneficiary of someone's...