The main changes here are bug fixes:
- Activity now works completely inside of R3F, even across boundaries with React DOM. Ie, an Activity that wraps the Canvas.
- In some cases a renderer would not be disposed when the Canvas was unmounted. This is fixed and we clarify in which instances we auto-dispose.
What's Changed
- fix(core): dispose the renderer R3F creates when its root unmounts by @tonyblu331 in #3942
- fix(core): preserve visibility across Activity and Suspense hiding by @krispya in #3944
- fix(web): keep a Canvas root alive while hides it by @tonyblu331 in #3943
- fix(core): stop Canvas rerenders from resetting runtime settings by @krispya in #3945
- fix(core): bridge Activity visibility into Canvas scenes by @krispya in #3946
New Contributors
- @tonyblu331 made their first contribution in #3942
Full Changelog: v9.8.0...v9.8.1