Skip to content

Conversation

nojaf
Copy link
Member

@nojaf nojaf commented Sep 8, 2025

I just tried this out in a new project and the bindings were not working for me.
jsx needs to come from preact/jsx-runtime.

I also want to have a copy/paste button, so made some changes to have:
image

@nojaf nojaf requested a review from fhammerschmidt September 8, 2025 11:52
@fhammerschmidt
Copy link
Member

Thanks!
Do they work on ReScript 11?

@fhammerschmidt
Copy link
Member

Oh, it might depend on your Preact version, right?

@nojaf
Copy link
Member Author

nojaf commented Sep 8, 2025

Latest preact major has been the same for 6 years now.
So, I'm updating the text as well for v11.
That worked as well for me.

@nojaf nojaf merged commit 4e4fabe into rescript-lang:master Sep 8, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants