-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Usign as an ESM module without any build step #221
Comments
its fine. the scheduler isn't shared anyway among reconcilers, each has to carry its own. |
Well, i'm facing some issues, I got this error:
I think that is because I bundled React with react-three-fiber, and two React can't cohabit (maybe ?). |
im not sure how react-esm works. but yes, two react version are poison for hooks, there must be a flaw in that build config somewhere. |
I gave up for now, I didn't found any solution even if I liked the idea to not have any build step. But if you have any idea how to configure rollup to produce a valid esm build that work in the browser, I'm very welcolme :) Thanks again Also, react-esm is react, the authors say its a
|
i know too little about es-react unfortunately. if you should ever solve it, prs welcome |
Hello,
I would like to use this library without any build step and using esm-react.
This mean (maybe) I need a build of react-three-fiber without any dependencies. I did that by modifying the rollup config with the code above:
Do you think that is a good idea ? Thanks !
The text was updated successfully, but these errors were encountered: