Skip to content

[Performance]: Lazy load heavy components using Next js dynamic imports #640

@Aditya948351

Description

@Aditya948351

Our initial bundle size is quite large because heavy libraries like Three js in HeaderScene tsx and the canvas confetti library are imported statically. Use Next js dynamic imports to lazy load these components only when they are needed or when they scroll into view. This will significantly improve our Core Web Vitals and initial page load speed.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions