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

fix(runtime-core): the component may come from a js file, it does not have __hmrId (fix #7921) #8100

Closed
wants to merge 1 commit into from

Conversation

Jevon617
Copy link

close: #7921.

The component may come from a js file in node_modules, and such components do not have __hmrId.

In this case, their hmr status should depend on their ancestor components.

Therefore, we need to traverse and check whether their ancestor components have __hmrId.

@Jevon617 Jevon617 changed the title fix(runtime-core): component my come from js file, it do not have __hmrId (fix #7921) fix(runtime-core): the component may come from a js file, it does not have __hmrId (fix #7921) Apr 18, 2023
@yyx990803 yyx990803 closed this in f17a82c Apr 20, 2023
@yyx990803
Copy link
Member

Thanks for the PR - I decided to just always traverse static children in dev in f17a82c

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

Successfully merging this pull request may close these issues.

Cannot set properties of null (setting 'textContent')
2 participants