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
Hello! First, just want to say how awesome this project is :) Reminds me a lot of Choo (which I love and you acknowledge for the router) but with some more opinionated structure 😄
Reading through the docs and there are hints about when to represent something as context vs state, but nothing fully documented. As someone who doesn't have a ton of experience using FSMs in UI, I was hoping you - or anyone who comes across this - could elaborate when to use which, perhaps in the context of some common UI patterns.
Looking forward to trying Baahu out at some point, thanks!
The text was updated successfully, but these errors were encountered:
rereading the docs and I think it's become clearer to me actually. from what I gather, state is referring to the machine state rather than component state. context seems more appropriate for component state i.e. data that you use when rendering. would it be fair to say the following?
machine state changes as a result of events that are emitted
component state (i.e. context) changes as a result of side-effects caused by machine state changes or relevant events being emitted
if this seems more-or-less accurate, feel free to close this. appreciate any additional clarifications though 😄
Hello! First, just want to say how awesome this project is :) Reminds me a lot of Choo (which I love and you acknowledge for the router) but with some more opinionated structure 😄
Reading through the docs and there are hints about when to represent something as context vs state, but nothing fully documented. As someone who doesn't have a ton of experience using FSMs in UI, I was hoping you - or anyone who comes across this - could elaborate when to use which, perhaps in the context of some common UI patterns.
Looking forward to trying Baahu out at some point, thanks!
The text was updated successfully, but these errors were encountered: