Simple introductory examples integrating Xstate and React
yarn add xstate @xstate/react
yarn add --dev prettier prettier-eslint eslint-config-airbnb eslint-config-prettier eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks
Example Apps
- Toggle: states, transitions, actions, useMachine hook
- Counter: context
- Todos: context API use
- TicTacToe: guards
- Heroine: hierarchical and parallel states
Topics that need MVP example apps:
- hierarchical and parallel states
- child state machines
- effects
- activities
- services (is this child state machines?) and actors
- history
- other stuff?