evershop icon indicating copy to clipboard operation
evershop copied to clipboard

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

Open treoden opened this issue 2 years ago • 1 comments

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 avatar Aug 14 '22 08:08 treoden

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.

mark-jia avatar Nov 13 '23 21:11 mark-jia