MCPcopy
hub / github.com/pmndrs/zustand / getState

Function getState

src/vanilla.ts:83–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81 }
82
83 const getState: StoreApi<TState>['getState'] = () => state
84
85 const getInitialState: StoreApi<TState>['getInitialState'] = () =>
86 initialState

Callers 3

basic.test.tsxFile · 0.85
basic.test.tsFile · 0.85
subscribe.test.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…