1 import { createContext } from 'react';
2 import { type ReactReduxContextValue, createDispatchHook, createSelectorHook, createStoreHook } from 'react-redux';
4 export const ProtonStoreContext = createContext<ReactReduxContextValue | null>(null);
6 export const baseUseStore = createStoreHook(ProtonStoreContext);
7 export const baseUseDispatch = createDispatchHook(ProtonStoreContext);
8 export const baseUseSelector = createSelectorHook(ProtonStoreContext);