Not uncommon to have scenarios where you have a React view you want to be able to invoke into a slot in an xstate-tree machine, so you wrap it into a dummy machine that just renders the view.
Should have a helper utility that accepts the view and returns a machine so this requires no boilerplate
Not uncommon to have scenarios where you have a React view you want to be able to invoke into a slot in an xstate-tree machine, so you wrap it into a dummy machine that just renders the view.
Should have a helper utility that accepts the view and returns a machine so this requires no boilerplate