Skip to content

fix(runtime-core): hydration should not be performed during the HMR reload process(fix #7706) - #8170

Closed
Jevon617 wants to merge 1 commit into
vuejs:mainfrom
Jevon617:fix-7706
Closed

Jevon617 wants to merge 1 commit into
vuejs:mainfrom
Jevon617:fix-7706

Conversation

@Jevon617

Copy link
Copy Markdown

Close #7706.

During HMR reload, the div element is unmounted. However, in SSR mode, the mountComponent process does not remount the div element but hydrates it instead, causing the issue of the div element is deleted.

@edison1105

edison1105 commented Oct 28, 2024 •

Copy link
Copy Markdown
Member

Thank you for your contribution! We have created a new PR to resolve issue #7706, making this PR redundant. Additionally, this PR contains incorrect modifications and lacks necessary test cases. Thank you for your understanding!

@edison1105 edison1105 closed this Oct 28, 2024
edison1105 added a commit that referenced this pull request May 13, 2025
camc314 pushed a commit to camc314/core that referenced this pull request Sep 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Rejected

Development

Successfully merging this pull request may close these issues.

HMR not working after failed hydration

2 participants