Replies: 1 comment 2 replies
-
I think it would be awesome to have the equivalent of useMachine in signals: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This mainly a reflection on how Signals may fill the need of a state machine or equivalent.
What would be a Signals way to declare State, Transition and Event?
If may not even be a package, I would eagerly use it but maybe a pattern or template, a simplistic engine.
How can we imagine a
EventSignal<E> bind to a ComputedState<S> and TransitionTrackedSignal<T>
.Signals assure the transmission of informations, this would assure consistency.
Beta Was this translation helpful? Give feedback.
All reactions