Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ui): split the bundle for BuilderApp - WF-96 #616

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

madeindjs
Copy link
Collaborator

I noticed that the builder load many components on the loading, which hurts a lot performances.

Many of them could be delayed to be loaded only when visible (like on v-if="true") using defineAsyncComponent).


Here you can see in action, that BuilderCodePanel is loaded only when I open the code editor.

Screencast.From.2024-11-06.00-52-02.mp4

And the difference on the bundle

image

@madeindjs madeindjs self-assigned this Nov 6, 2024
I noticed that the builder load **many** components on the loading,
which hurts a lot performances.

Many of them could be delayed to be loaded only when visible (like on
`v-if="true"`) using `defineAsyncComponent`).
@madeindjs madeindjs marked this pull request as ready for review November 9, 2024 22:57
@ramedina86 ramedina86 merged commit 76adecd into writer:dev Nov 14, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants