As the name suggests, the library treats state as a design problem. If you’re not exactly sure how the state of a user interface should work, then State Designer can help you figure it out.
- Watch a Video and see the library in action
- Explore examples in React and TypeScript.
- Learn more about what it means to design for state.
@state-designer/core- Core library.
@state-designer/react- React hook.
Your exact usage will depend on your framework:
- Usage in React - React hook.
State Designer is heavily inspired by xstate. Note that, unlike xstate, State Designer does not adhere to the scxml spec.