Minimal React + Vite reproduction using @rive-app/react-canvas.
pnpm installpnpm dev- Open the app in Safari.
- Open Web Inspector and start memory profiling.
- Click the toggle button repeatedly to mount and unmount the Rive component.
- Take memory snapshots and inspect detached canvas elements over time.