Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: f15f2ba The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit f15f2ba:
|
| const root = createRoot(rootEl) | ||
| root.render(<Leva isRoot />) |
There was a problem hiding this comment.
I think I saw somewhere that using multiple roots is discouraged in React 18, would it be possible to switch to createPortal() instead? I guess the API might have to change, e.g. requiring consumers to render a <Leva /> component
There was a problem hiding this comment.
I think this would actually be good API change where there's less "magic" and you can easily toggle it on and off.
|
Any update on this? |
|
Any update on this? |
|
Closing in favor of #412 |
Everything is mostly working but: - Leva is weirdly small. Waiting until they get things working on R18 here. pmndrs/leva#330
Depends on
TODO