react-context-hook
react-context-hook copied to clipboard
A React.js global state manager with Hooks
I ma getting `Error react_context_hook__WEBPACK_IMPORTED_MODULE_12__.store.get is not a function` from `store.get('something')`, ``` import { useStore, withStore } from 'react-context-hook'; import {store} from 'react-context-hook' //import the raw store function Category() {...
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) Commits See full diff in compare...
Bumps [terser](https://github.com/terser/terser) from 4.3.9 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) v4.8.0 Support for numeric separators (million...
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 16.7.0. Release notes Sourced from jsdom's releases. Version 16.7.0 Added AbortSignal.abort(). (ninevra) Added dummy x and y properties to the return value of getBoundingClientRect(). (eiko)...
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 16.7.0. Release notes Sourced from jsdom's releases. Version 16.7.0 Added AbortSignal.abort(). (ninevra) Added dummy x and y properties to the return value of getBoundingClientRect(). (eiko)...
I came from a standard useState hook and my code was working properly. Now, I can't update my state (the custom_filters object) with the SetFilters method below ``` const initialState...
A hook to reset the store: ```JavaScript function onClickHandler() { const initialValue = { user: null, loggedIn: false } useResetStore(initialValue) } ```
Not really a bug, but this library is dependent on React ^17.0.0 and has not seen a release for a while. I'm not sure if I should start using it...
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. Release notes Sourced from json5's releases. v1.0.2 Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a...
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. Release notes Sourced from json5's releases. v1.0.2 Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a...