function useStore<TState, TSelected, TUpdater>(store, selector?): TSelected
function useStore<TState, TSelected, TUpdater>(store, selector?): TSelected
• TState
• TSelected = NoInfer<TState>
• TUpdater extends AnyUpdater = AnyUpdater
Store<TState, TUpdater>
(state) => TSelected
TSelected
node_modules/.pnpm/@tanstack+react-store@0.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-store/dist/esm/index.d.ts:7
Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.