XState.tips aims to fill the gap between the world of Finite State machines and Statecharts and the real world of development.
Even though this website tries to provide the code tips in the syntax of XState, the modeling concepts and the shared tips are mostly implementation agnostic.
How to add a tip
Tips live under
/data/tipsdirectory in markdown format. Either clone the repo and add a new markdown file or try adding it on Github.
yarn prepareto collect and compile the tips into
data/_tips.jsonwhich will be consumed by the website.
Note: This will also regenerate a new
static/feed.xmlto update RSS feed based on the new compiled tips.
Send a PR!
Generate RSS Feed
The RSS file lives under
static directory. This file is autogenerated based on
To generate a new RSS feed, run