Gabe Kangas on Nostr: npub15dmk6…re38g I had no idea you were at Stately! Owncast's application state is ...
npub15dmk6ykmrpx2sqfac2d9xanqaw0uud3lyrje4s0td3aq7pzq44ss0re38g (npub15dm…e38g) I had no idea you were at Stately! Owncast's application state is powered by xstate, and I've really enjoyed using it.
For context, I heard npub14p8gyrxv4j5ez7ldclh0f5ale7vp5jjnzll0kg8r59yrqqs9w33s0emxuq (npub14p8…mxuq) talk about xstate when he described how the gameshow stuff works, and it didn't click for me. But when I went to rewrite Owncast I remembered that show, and thought "I think this would be a fit here", and it was. I'm probably not using it to its fullest, but I'm ok with that. It's easy enough to update in the future. https://github.com/owncast/owncast/blob/develop/web/components/stores/application-state.ts
For context, I heard npub14p8gyrxv4j5ez7ldclh0f5ale7vp5jjnzll0kg8r59yrqqs9w33s0emxuq (npub14p8…mxuq) talk about xstate when he described how the gameshow stuff works, and it didn't click for me. But when I went to rewrite Owncast I remembered that show, and thought "I think this would be a fit here", and it was. I'm probably not using it to its fullest, but I'm ok with that. It's easy enough to update in the future. https://github.com/owncast/owncast/blob/develop/web/components/stores/application-state.ts