XState

XState is an open-source JavaScript/TypeScript framework by Stately for managing state machines and statecharts and includes the ability to treat them as actors.

Using XState with TypeScript

XState can enforce type safety through automatic type generation. For an overview, see Is XState good with TypeScript? in the following video.

XState Resources

XState Tutorials and Presentations

Broader Topics Related to XState JavaScript Library

Open-Source JavaScript and TypScript Libraries

Open-Source JavaScript and TypScript Libraries

Popular open-source libraries used in JavaScript and TypeScript development

Actor Model

Actor Model

A model where an actor is the fundamental unit of computation including processing, storage, and communication

State Machines

State Machines

Abstract representations of system state at a given point in time

Statecharts

Statecharts

A visual formalism for complex systems

XState JavaScript Library Knowledge Graph