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

Improve HMR with vite 3.2 api change #5

Open
rosskevin opened this issue Oct 14, 2022 · 2 comments
Open

Improve HMR with vite 3.2 api change #5

rosskevin opened this issue Oct 14, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@rosskevin
Copy link
Member

This is already commented in the code, but hopefully the new api will negate the need to send a full page reload.

Waiting on this PR to be released in vite 3.2 https://github.com/vitejs/vite/pull/10333/files

server. reloadModule(module)

@rosskevin rosskevin added the enhancement New feature or request label Oct 14, 2022
@gamegee
Copy link

gamegee commented May 23, 2023

Hello @rosskevin, do you have any updates on this? :)
I believe the benefits of using HMR instead of a full reload are huge.

@rosskevin
Copy link
Member Author

I don't but I do accept PRs. And we have auto integrated here so any PR made will automatically create a canary release to try - so give it a shot!

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

No branches or pull requests

2 participants