Replies: 1 comment 1 reply
-
@scarf005 This separates concerns. useMachine is solely for parsing and running a state machine service |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, sorry if it's obvious (haven't really used the lib yet) but was confused why
normalizeProps
is needed to be passed manually in https://zagjs.com/overview/installation#using-the-machine:as
useMachine
is implemented separately per framework (react, solid, vue...), can'tuseMachine
embed reference tonormalizeProps
sotooltip.connect
can use it, removing need for manually passing it?e.g
originally from discord
Beta Was this translation helpful? Give feedback.
All reactions