Skip to content

BhawickJain/xstate-stopwatch

Repository files navigation

xState based Stopwatch

A stopwatch created using xState.

Using a state-machine allows you to more clearly describe the behaviour of a machine. This is a minimal example to see how xstate works in a react, typescript, next.js project.

demo

Getting Started

visit the live demo 🚀

yarn # install packages
yarn start:dev

Open http://localhost:3000 with your browser to see the result.