Skip to content

fix(runtime-core): reactive children with teleport #2873

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

Closed
wants to merge 1 commit into from
Closed

fix(runtime-core): reactive children with teleport #2873

wants to merge 1 commit into from

Conversation

leaon4
Copy link
Contributor

@leaon4 leaon4 commented Dec 23, 2020

see test case

target.value = targetB
await nextTick()
} catch (err) {
expect(err).toBeUndefined()
Copy link
Member

Choose a reason for hiding this comment

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

why not remove the try catch altogether, I don't think it makes sense for this code to throw an undefined error

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, it looks a little weird. I'm just trying to show you that an error is thrown when you excute this test case before fixing it.
Actually, I wanted to refactor the test cases after you merged my PRs. Because this one can be tested together with the test case of "should update target" that I modified in my other PR.

Copy link
Member

Choose a reason for hiding this comment

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

@leaon4 I'm not sure what other PR you are referring to, can you clarify?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@HcySunYang HcySunYang added the 🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. label Mar 29, 2021
@yyx990803 yyx990803 deleted the branch vuejs:master January 18, 2022 08:30
@yyx990803 yyx990803 closed this Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. scope: teleport
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants