Skip to content

feat: lazy load InteractivePreview with React.lazy + Suspense - #1023

Open
Tushar15769 wants to merge 4 commits into
singhtrivendra:mainfrom
Tushar15769:feat/code-splitting
Open

feat: lazy load InteractivePreview with React.lazy + Suspense#1023
Tushar15769 wants to merge 4 commits into
singhtrivendra:mainfrom
Tushar15769:feat/code-splitting

Conversation

@Tushar15769

Copy link
Copy Markdown
Contributor

closes #336

Splits all 13 registry component modules into a separate chunk,
loaded only when the user scrolls to see a component preview.
Adds Suspense boundary with loading fallback per preview card.
@singhtrivendra

Copy link
Copy Markdown
Owner

@Tushar15769 Please resolve merge conflicts before this PR can be merged.

@Tushar15769

Copy link
Copy Markdown
Contributor Author

Hey @singhtrivendra , I have resolved the merge conflict so you can review and merge.
Thanks!

@singhtrivendra

Copy link
Copy Markdown
Owner

@Tushar15769 Please resolve merge conflicts before this PR can be merged.

@Tushar15769

Copy link
Copy Markdown
Contributor Author

Hey @singhtrivendra , I have resolved the merge conflict so you can review and merge.
Thanks!

@singhtrivendra

Copy link
Copy Markdown
Owner

@Tushar15769 Please resolve merge conflicts before this PR can be merged.

2 similar comments
@singhtrivendra

Copy link
Copy Markdown
Owner

@Tushar15769 Please resolve merge conflicts before this PR can be merged.

@singhtrivendra

Copy link
Copy Markdown
Owner

@Tushar15769 Please resolve merge conflicts before this PR can be merged.

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open 30 days with no activity.

@github-actions github-actions Bot added the Stale label Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing Bundle Splitting Causes Unnecessary Initial JavaScript Loading

2 participants