useStoreContext
This hook allows to access the global Store.
It should not be used directly. Prefer the specialized hooks (useStore, useResetStore, useRemoveFromStore) instead.
Syntax
Section titled “Syntax”import { useStoreContext } from 'ra-core';
const store = useStoreContext();