DEV Community

Discussion on: What do you get when you pair xstate with lit-html?

Collapse
 
drmandible profile image
DrMandible

I've toyed with xstate and I really like it. I think state charts have to be the future of software design. But I've struggled to implement it. Do you have any good tutorials you would recommend? The official docs don't answer all my questions (at least not in a way I understand).

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀 • Edited

Like anything I have ever tried to learn, I struggled the first 2 times to impliment something and gave up, I was always getting stuck on a few things.

I didn't get any help from tutorials, actually I'm largely borrowing snippets from the docs until they work. The big thing was the Actor model and actors section. Google have a fantastic video of how they implimented a UI with xstate and actors API in the docs, helped me make something useful, plus there is a repo to look over from the vid.