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

[Bug]: preact HMR doesn't update before reload the page #1434

Closed
scffs opened this issue Jan 25, 2024 · 2 comments
Closed

[Bug]: preact HMR doesn't update before reload the page #1434

scffs opened this issue Jan 25, 2024 · 2 comments
Labels
🐞 bug Something isn't working

Comments

@scffs
Copy link

scffs commented Jan 25, 2024

Version

System:
    OS: Windows 11 10.0.22631
    CPU: (8) x64 Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz
    Memory: 4.78 GB / 23.78 GB
  Browsers:
    Edge: Chromium (120.0.2210.144)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @rsbuild/core: ^0.3.6 => 0.3.6 
    @rsbuild/plugin-image-compress: ^0.3.7 => 0.3.7 
    @rsbuild/plugin-react: ^0.3.6 => 0.3.6

Details

I use preact and rsbuild, after I change smth I don't see the updates but in devtools .update request looks fine

image

image

but at the screen there is still old data

image

Reproduce link

maybe later sorry

Reproduce Steps

see the details I guess

@scffs scffs added the 🐞 bug Something isn't working label Jan 25, 2024
@scffs scffs changed the title [Bug]: preact HMR doesn't update before reload [Bug]: preact HMR doesn't update before reload the page Jan 25, 2024
@chenjiahan
Copy link
Member

I noticed that you are using @rsbuild/plugin-react in Preact project, can you replace it with @rsbuild/plugin-preact?

https://rsbuild.dev/plugins/list/plugin-preact

@scffs
Copy link
Author

scffs commented Jan 26, 2024

Thanks! I just did't see the preact plugin

@scffs scffs closed this as not planned Won't fix, can't repro, duplicate, stale Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants