Bigismall / frontend-sync-x-state

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xstate-demo

Just a simply (pure TypeScript and HTML) of the x-state machine usage. Fell free to use X-state visualiser to display machine definition from index.tsx file, to see it in action

P.S. This repo is the second part of the state management story (Frontend sync). First part available here: https://github.com/Bigismall/frontend-sync-state-reducers

machine visualisation

Building and running on localhost

First install dependencies:

npm install

To run in hot module reloading mode:

npm start

To create a production build:

npm run build-prod

Running

node dist/bundle.js

Credits

Made with createapp.dev

About


Languages

Language:TypeScript 73.7%Language:HTML 15.5%Language:CSS 10.8%