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): skip getChildRoot if patchFlag equals -1 #3134

Closed
wants to merge 3 commits into from

Conversation

edison1105
Copy link
Member

@edison1105 edison1105 commented Jan 31, 2021

close #3133

__DEV__ &&
result.patchFlag & PatchFlags.DEV_ROOT_FRAGMENT &&
result.children
) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@edison1105 edison1105 changed the title fix(runtime-core): skip getChildRoot when children is null fix(runtime-core): skip getChildRoot when patchFlag equal -1 Jan 31, 2021
@edison1105 edison1105 changed the title fix(runtime-core): skip getChildRoot when patchFlag equal -1 fix(runtime-core): skip getChildRoot if patchFlag equals -1 Jan 31, 2021
@edison1105 edison1105 requested a review from HcySunYang January 31, 2021 08:47
@HcySunYang
Copy link
Member

Hi, I close this one because it has been fixed, sorry I forgot it was fixed by me. see #2750

@HcySunYang HcySunYang closed this Feb 4, 2021
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.

<transition> with a single, empty child throws an error
2 participants