Skip to content
Matchina
Search
Ctrl
K
Cancel
GitHub
Select theme
Dark
Light
Auto
Introduction
Quickstart
Installation
About Matchina
Core Concepts
Tagged Unions
State Machines
Tagged Union Matchboxes
Matchbox Factories
Matchbox Usage
Machines
Overview
States
Factory Machines
Store Machines
Type Inference
Promise Machines
Machine Enhancers
Hierarchical Machines
Machine Setup
Lifecycle
Lifecycle Hooks
transitionHooks()
onLifecycle()
Subscriptions
Declarative Effects
Frontend Integration
React
Examples
Basic
Toggle
Counter
Traffic Light
Rock-Paper-Scissors
Stopwatches
Overview
Basic Stopwatch
With Hooks
With Transition Functions
With React State and State Effects
With React State and Effects
With External React State
With Lifecycle
With Transition Hooks
Async
Async Calculator
Fetchers
Promise Machine Fetcher
Advanced Fetcher
Hierarchical
Flattened Traffic Light
Advanced
Traffic Light Simulator
Authentication Flow
Checkout Flow
Reference
Interfaces
DisposeFunc
EffectFunc
EffectsProps
EventLifecycle
FactoryKeyedState
FactoryMachine
FuncEnhancer
Funcware
KeyedState
KeyedStateFactory
MethodEnhancer
MiddlewareFunc
SetupFunc
StateMachine
StateMatchbox
StoreChange
StoreMachine
StoreTransitionRecord
SubscribeFunc
TransitionEvent
Functions
abortable
addEventApi
addStoreApi
asFilterMatch
assignEventApi
bindEffects
combineGuards
composeHandlers
createDisposer
createMachine
createMachineFrom
createMachineFromFlat
createMethodEnhancer
createPromiseMachine
createReset
createStoreMachine
defineEffects
defineMachine
defineStates
defineSubmachine
delay
delayed
delayer
emitter
enhanceFunction
enhanceMethod
eventApi
flattenMachineDefinition
funcwareFromMiddleware
getAvailableActions
getFilter
guardExecute
handleEffects
hookSetup
iff
isEnhancedFunction
match
matchbox
matchboxFactory
matchChange
matchFilters
matchina
matchKey
onLifecycle
pure
resetMachine
resolveExitState
resolveNextState
setup
storeApi
tap
transitionHook
transitionHooks
when
whenEventType
whenFromState
whenState
withLifecycle
withReset
withSubscribe
Variables
after
before
createSetup
effect
enter
guard
handle
leave
notify
PROMISE_STATES
PROMISE_TRANSITIONS
resolveExit
transition
update
Type Aliases
DisposableEffect
EffectMatchbox
EnhancedFunc
ExtractFactoryConfig
ExtractMachineFromFactory
FactoryMachineTransitions
FactoryStateKeys
FlatBuild
FlattenedFactoryStateSpecs
FlattenedFactoryTransitions
FlattenedMachineDefinition
FlattenedStateMatchboxFactory
FlattenedStates
FlattenedTransitions
FlattenFactoryStateKeys
FlattenOptions
Func
HasMachineProperty
MachineDefinition
StateMatchboxFactory
GitHub
Select theme
Dark
Light
Auto
Install Matchina
Terminal window
npm
install
matchina