Replies: 1 comment 4 replies
-
This is the Preact repository. What's the library in question? Maybe you opened this on the wrong repo? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team,
I’m using your library with Preact and noticed that components wrapped in observer throw "h is not defined" errors. This happens because the compiled output uses h() directly, while the rest of my project might use a different JSX pragma (e.g., createElement).
Is there any way to modify my HOC so that it definitely works? Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions