Closed andrewmcoupe closed 3 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/mattpocock/xstate-catalogue/4dYp2WmXdGoqubYg3cT6EgWcKSyg
✅ Preview: https://xstate-catalogue-git-fork-andrewmcoupe-master-mattpocock.vercel.app
Going to siphon off some time in the next couple of weeks to look at this and the other machines that people have been contributing. Sorry if I don't get back to you for a while!
The changes in this PR are now included in #62
This is a machine to manage the state and slide transitions for a carousel. This could be a carousel of any sort eg. image, content etc.
Happy to see alternative approaches to this kind of machine. I was thinking that an activity would be the best approach but events can't be sent inside an activity so I went for the approach advised by David here.