We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
useStateMachine works out-of-the box if you have preact/compat set up (as is the default in wmr and preact-cli).
preact/compat
wmr
preact-cli
Otherwise you need to alias "react" to "preact/hooks" - for example, in your package.json:
"moduleNameMapper": { "^react$": "preact-compat", "^react-dom$": "preact-compat", }