Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/beekai-oss/little-state-machine
/ functions
Functions
10 in github.com/beekai-oss/little-state-machine
⨍
Functions
10
◇
Types & classes
2
↓ 1 callers
Function
StoreFactory
()
src/logic/storeFactory.ts:4
↓ 1 callers
Function
actionTemplate
( setState: React.Dispatch<React.SetStateAction<GlobalState>>, callback: TCallback, )
src/stateMachine.tsx:36
↓ 1 callers
Function
setState
( dispatchAction: ((payload: GlobalState) => GlobalState) | GlobalState, )
src/logic/storeFactory.ts:13
Function
createStore
( defaultState: GlobalState, options?: StateMachineOptions, )
src/stateMachine.tsx:12
Function
options
()
src/logic/storeFactory.ts:58
Function
saveStore
()
src/logic/storeFactory.ts:46
Function
state
()
src/logic/storeFactory.ts:50
Function
subscribe
(listener: () => void)
src/logic/storeFactory.ts:24
Function
updateStore
(defaultValues: GlobalState)
src/logic/storeFactory.ts:36
Function
useStateMachine
({ actions, selector, }: { actions?: TActions; selector?: ((payload: TStore) => TStore) | undefined; }
src/stateMachine.tsx:62