You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to learn XState version 5. I found a project called Zhithead that implements a card game using XState v4 and I converted it to XState v5. i learned a lot on the way. A card game is a fun way to play with XState. I probably got a lot wrong building the state machine but maybe its educational anyways.
It is a nextjs/vercel v15 app using React 19, framer motion, tailwind.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi Everyone,
I wanted to learn XState version 5. I found a project called Zhithead that implements a card game using XState v4 and I converted it to XState v5. i learned a lot on the way. A card game is a fun way to play with XState. I probably got a lot wrong building the state machine but maybe its educational anyways.
It is a nextjs/vercel v15 app using React 19, framer motion, tailwind.
If anyone is interested the code is at https://github.com/robreiss/zhithead2 you can play it at https://zhithead2.vercel.app/
Beta Was this translation helpful? Give feedback.
All reactions