Skip to content

@yantrix/redux v0.0.2Docs


Yantrix API / @yantrix/redux / useReduxAutomata

Function: useReduxAutomata()

ts
function useReduxAutomata(automataId): readonly [GenericAutomata, (action) => TAutomataStateContext<number, Record<number, any>>]

Parameters

automataId: string

Returns

readonly [GenericAutomata, (action) => TAutomataStateContext<number, Record<number, any>>]