Issue: createPortal does not update when container changes, and fails to accept refs
Issue: createPortal does not update when container changes, and fails to accept refs: a task in LegoFlow-SWE (Harbor dataset). function CameraAttached() { const { camera } = useThree() // camera may change return createPortal(<mesh / , camera) }
The task
function CameraAttached() { const { camera } = useThree() // camera may change return createPortal(<mesh />, camera) }
Part of Lego-X/LegoFlow-SWE.