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() {
.....
if(store.get('something')) {
....
}
}
can you show an example of how the store.get('something') is used? how do I get one of the store value with a key?