Skip to content

[BUG] Fast refresh performance is not good enough. Need a good improvement #78

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

Open
treoden opened this issue Aug 14, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@treoden
Copy link
Collaborator

treoden commented Aug 14, 2022

Describe the bug
The fast refresh feature is now available.
It works, but
On the first time visiting a page, Webpack build will be executed to generate a bundle. This process take so long.
Even though this only happen in development mode, but we need to improve to provide better development experience and performance

To Reproduce
Steps to reproduce the behavior:

  1. Start the project in development mode 'npm run dev'
  2. Visit a page
@treoden treoden self-assigned this Aug 14, 2022
@treoden treoden added enhancement New feature or request help wanted Extra attention is needed labels Aug 14, 2022
@mark-jia
Copy link
Contributor

This is why you should not use webpack: some bundlers, like Vite and Snowpack, have managed to become event faster, reaching 250ms reload times, by utilizing native ESM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants