Open codingedgar opened 2 years ago
Hi @codingedgar are you sure you need this library? This library isn't necessary for most normal uses of PureScript with Halogen or React; they have their own state transition machinery. Do you know about the Discourse and Discord sites for PureScript? You will probably get a faster and more energetic reply if you ask this question on one of those sites. https://discourse.purescript.org/t/migrating-to-discord/2493
Hi @codingedgar are you sure you need this library? This library isn't necessary for most normal uses of PureScript with Halogen or React; they have their own state transition machinery. Do you know about the Discourse and Discord sites for PureScript? You will probably get a faster and more energetic reply if you ask this question on one of those sites. https://discourse.purescript.org/t/migrating-to-discord/2493
Thanks for pointing it out! I'll try there too 😊
I discovered this repo because I'm a huge fan of https://github.com/davidkpiano/xstate and was looking how PureScript does FSM but i can't figure out how to use "source" here.
Even tho those frameworks provide mechanisms for state management, I really like FSM for modelling and dealing with UI.
AFAIK, purescript-halogen-vdom
doesn't use this library, but it does use a machine-like design.
Hi 👋
I wonder if there are examples of this lib in use with Halogen or React?
Sorry I'm super noob with PS, coming from JS, and can't intuitively wrap my head around how to pass "events" or run the machines.