maybe a bug of fast-refresh
See original GitHub issueDescribe the bug
An error occurs when hmr are constantly triggered. I’m not sure if this is a fast-Refresh issue. Hope to get your answer, thank you very much!
Reproduction
https://github.com/hemengke1997/refresh-bug
Reproduction Step
- yarn && yarn dev
- constantly trigger hmr in
src/Container.ts
System Info
System:
OS: Windows 10 10.0.19043
CPU: (6) x64 Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
Memory: 1.11 GB / 15.87 GB
Binaries:
Node: 16.13.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.4 - ~\AppData\Roaming\npm\yarn.CMD
npm: 7.24.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Spartan (44.19041.1266.0), Chromium (96.0.1054.62)
Internet Explorer: 11.0.19041.1202
npmPackages:
@vitejs/plugin-react: ^1.0.7 => 1.1.4
vite: ^2.7.2 => 2.7.10
Used Package Manager
yarn
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn’t already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it’s a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Fast refresh is taking longer than complete refresh of mater...
Fast refresh is taking longer than complete refresh of materialzed view, could you tell me why? I checked metallink, it was a bug...
Read more >Complex materialized views and fast refresh
We have an outstanding bug in some instances of fast refresh materialized views when the definition of the materialized view references a ...
Read more >Fast refresh in react native always fully reload the app
Any idea why it wouldn't work in a large project? I mean, there are any know issues with fast refresh related to the...
Read more >Fast Refresh
For example, maybe your component also exports a constant, and a non-React utility module imports it. In that case, consider migrating the ...
Read more >104176 - fast refresh on window close
Expected Results: The behind pages should redraw or whatever more quickly. ... I believe that this bug may be the same or is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Make sense 👍
@bluwy Should this issue be closed as websocket error will be shown by #7111 and docker documentation is tracked at #4116?