Projets
Voir sur GitHub
steveruizok/state-designer
À propos
Gestion d'état avec des statecharts.
Développement web et applicatifWhat you can do
- 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.
Progression mesurée des étoiles
- in 24h
- +1
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalState 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
Explorer des projets similaires
Chargement…