Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples of https://beta.reactjs.org/reference/react-dom/client/createRoot #175

Open
zeroexcuses opened this issue Mar 9, 2023 · 1 comment

Comments

@zeroexcuses
Copy link

Can we get examples on how to use https://beta.reactjs.org/reference/react-dom/client/createRoot ?

Thanks!

@davesnx
Copy link
Member

davesnx commented Mar 9, 2023

Hi @zeroexcuses

There're currently no bindings for React 18 APIs under this repository.

If you really need it I recommend taking a look at how is defined https://github.com/ml-in-barcelona/jsoo-react/blob/main/lib/core.mli (It uses gen_js_api)

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

No branches or pull requests

2 participants