( params: K[], )
| 15 | export const { Provider } = zustandContext; |
| 16 | export const useAppStore = zustandContext.useStore; |
| 17 | export function useAppStorePick<K extends keyof AppContents>( |
| 18 | params: K[], |
| 19 | ): Pick<AppContents, K> { |
| 20 | return useAppStore((store) => pick(store, params)); |
| 21 | } |
| 22 | |
| 23 | export const initializeStore = (preloadedState: PreloadedState = {}) => |
| 24 | create( |
no outgoing calls
no test coverage detected