Replies: 1 comment 2 replies
-
I don't think this is a good strategy here. For an improved integration with React, we need to use |
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
-
We share our 'react' hooks between 'preact' and 'haunted' or even 'solid'. Those libraries have support for react Hooks. We ourselves love preact and haunted because they are more compatible with integrating webcomponents then react.
It would be supportive that the useMachine hook, can also work within those libraries.
for now it's not easy mainly because of proprietary react hooks like: 'useSyncExternalStoreWithSelector'.
Is it possible ( and even simply by creating a library agnostic useMachine hook ) to support those libraries?
thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions