Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

steveruizok/state-designer

Repository files navigation

State Designer

State Designer is a JavaScript and TypeScript library for managing the state of a user interface. It prioritizes the design experience, making it easy to experiment with ideas, iterate on solutions, and communicate the final result.

Features

  • Write state-charts in a simple declarative syntax.
  • Create both global and local component states.
  • Use selectors to subscribe to just the data you need.

Packages

Usage

Using State Designer involves three steps:

  1. Create a state with a configuration object.
  2. Subscribe to the state's updates.
  3. Send events to the state.

Your exact usage will depend on your framework:

Inspiration

State Designer is heavily inspired by xstate. Note that, unlike xstate, State Designer does not adhere to the scxml spec.

Author

License

MIT

About

State management with statecharts.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Contributors 3

AltStyle によって変換されたページ (->オリジナル) /