MCPcopy Create free account
hub / github.com/effector/effector / getState

Method getState

src/effector/unit.h.ts:35–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 stateRef: StateRef
34 reset(...units: CommonUnit[]): Store<State>
35 getState(): State
36 setState(newState: State): void
37 //prettier-ignore
38 map: (

Callers 15

RenderComponentFunction · 0.65
stateReaderFunction · 0.65
rfc1.test.tsxFile · 0.65
useUnit.test.tsxFile · 0.65
scopes.test.tsxFile · 0.65
store.test.tsFile · 0.65
stateReaderFunction · 0.65
scopes.test.tsxFile · 0.65
getCurrentFunction · 0.65

Calls

no outgoing calls

Tested by 2

fnFunction · 0.52
effectFunction · 0.52