项目
在 GitHub 查看
DevanB/xstate-examples
关于
Practical examples of statechart-based solutions with xstate.
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文xstate-examples
Explanation
This repo serves as a resource for any developer curious about state machines and statecharts. I've heard developers that want to use state machines, but have not found the "perfect reason" to utilize them. Now the "perfect reason" is easier to find. 😉
Repository Structure
- Each example is in it's own directory.
- Each example is a small application created with Create React App/vue-cli/Svelte Template, Xstate, tailwind, React Testing Library/Vue Testing Library/Svelte Testing Library, and cypress.
- Each example has a README with link to the xstate visualization tool for that example's state machine/statechart.
- Each example uses model-based testing and state machine/statechart best practices.
Current Examples
Future Examples
- React Native "Simon Says" game
- Authentication flow
- Welcome/walkthrough flow
- Todos
- Ticket selection and payment flow
- Stepped form/wizard
- Medium-like article creation/updating
Examples Showing Specific State Machine Concepts
- Guards: Trivia Game React | Vue | Svelte
- Transient Transitions: Trivia Game React | Vue | Svelte
- Invoking Services (Promises): Trivia Game React | Vue | Svelte
Handy Resources
探索相关项目
加载中…