Teleportation?
#3577
Replies: 2 comments 2 replies
-
BTW if I use createPortal for canvas it still re-renders it so new context is created (no diff with new canvas) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi! Could you he more specific or provide an example? I’m not sure what you are asking exactly. |
Beta Was this translation helpful? Give feedback.
2 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.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a main scene canvas placed like this:
<MainCanvas/> <Routes>...</Routes>
Let's say I want to use some models / particle effects (quarks) inside my React in specific Components. How can I do this in proper way? Creating new canvas on each render causes new context creation on each render. And if I try just to move the canvas into some Component's div it lags so much xD
Beta Was this translation helpful? Give feedback.
All reactions