/xstate-examples

Practical examples of statechart-based solutions with xstate.

Primary LanguageTypeScript

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

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

Handy Resources