プロジェクト
GitHubで見る
steveruizok/state-designer
概要
ステートチャートによる状態管理。
Web・アプリ開発できること
- 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.
計測したスター増加
- 24時間
- +1
- 7日間
- +1
- 15日間
- +1
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル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.
- See examples in React and TypeScript.
- Learn more at state-designer.com.
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
@state-designer/core- Core library.@state-designer/react- React hook.
Usage
Using State Designer involves three steps:
- Create a state with a configuration object.
- Subscribe to the state's updates.
- 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
関連プロジェクトを探す
読み込み中…