Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
RenderComponent
Function · 0.65
stateReader
Function · 0.65
createGate.test.tsx
File · 0.65
rfc1.test.tsx
File · 0.65
useUnit.test.tsx
File · 0.65
createStoreConsumer.test.tsx
File · 0.65
scopes.test.tsx
File · 0.65
store.test.ts
File · 0.65
stateReader
Function · 0.65
isomorphic-hooks.test.tsx
File · 0.65
scopes.test.tsx
File · 0.65
getCurrent
Function · 0.65
Calls
no outgoing calls
Tested by
2
fn
Function · 0.52
effect
Function · 0.52