MCPcopy Create free account
hub / github.com/byte-fe/react-model / getState

Function getState

src/index.tsx:322–324  ·  view source on GitHub ↗
(modelName: keyof typeof Global.State)

Source from the content-addressed store, hash-verified

320}
321
322const getState = (modelName: keyof typeof Global.State) => {
323 return Global.State[modelName]
324}
325
326const getActions = (
327 modelName: string,

Callers 11

ModelFunction · 0.85
useStoreFunction · 0.85
getState.spec.tsFile · 0.85
asyncState.spec.tsFile · 0.85
getActions.spec.tsFile · 0.85
single.spec.tsFile · 0.85
same-name.spec.tsFile · 0.85
index.spec.tsFile · 0.85
lane.spec.tsFile · 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…