[P1] Lazy-load Three.js viewport for LCP/INP #26
Labels
No labels
bug
feature-request
quickfix
test-coverage
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/parametric-furniture-cad#26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Large 1.2MB Three.js bundle blocks first paint.
Impact: LCP > 2.5s likely on mobile 4G. Viewport3D.tsx renders 3D canvas immediately, delaying UI.
Fix: React.lazy(() => import("./Viewport3D")) with Suspense fallback. Remove from modulepreload hints.