-
I write a library built on top of xstate, xstate-tree, for binding react views to xstate machines. As part of this library there is an abstraction layer between the machine and the view so the view does not have any direct reference to the state machine. This is done by creating Both the This was the solution I came up for accessing that type information
However @Andarist instructed me that might break at any time and to open an issue to discuss the use-case, so here I am. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Could you showcase how this is used by the consumer? And what exact shape of |
Beta Was this translation helpful? Give feedback.
Could you showcase how this is used by the consumer? And what exact shape of
TStates
do you assume when you consider compound and parallel states?