8000 Add Dynamic Import / Code Splitting for Tool Components · Issue #48 · betterbugs/dev-tools · GitHub
[go: up one dir, main page]

Skip to content

Add Dynamic Import / Code Splitting for Tool Components #48

@Shalini828

Description

@Shalini828

Problem :

All tool components are bundled eagerly.
This increases initial bundle size.

Proposed Solution :
Use:

  • const ToolComponent = dynamic(() => import(...), { ssr: false })
  • Or split tools into separate chunks per slug.

Benefits :

  • Smaller initial bundle
  • Faster homepage load
  • Better Lighthouse score
  • More production-ready

I would like to work on this issue.
Kindly assign this to me under APERTRE 3.0.

Thanks !

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0