Skip to content

fix(runtime-core): don't attempt to remove null fragments (fix #7966) - #8001

Closed
Jazcash wants to merge 1 commit into
vuejs:mainfrom
Jazcash:patch-3
Closed

Jazcash wants to merge 1 commit into
vuejs:mainfrom
Jazcash:patch-3

Conversation

@Jazcash

@Jazcash Jazcash commented Apr 1, 2023 •

Copy link
Copy Markdown

As described in #7966, the vue renderer crashes when using Teleport in combination with Transition and Suspense. I don't really know anything about vue core, but this simple change seems to fix the issue without breaking anything else. All unit tests pass still too.

@Jazcash Jazcash changed the title fix(core): don't attempt to remove null fragments (fix #3899) fix(core): don't attempt to remove null fragments (fix #7966) Apr 1, 2023
@skirtles-code

Copy link
Copy Markdown
Contributor

Very similar to #5342.

@Jazcash Jazcash changed the title fix(core): don't attempt to remove null fragments (fix #7966) fix(runtime-core): don't attempt to remove null fragments (fix #7966) Apr 1, 2023
@skirtles-code

Copy link
Copy Markdown
Contributor

I wonder whether this should be closed in favour of #9392?

// (fragment child nodes cannot have transition)
let next
while (cur !== end) {
while (cur && cur !== end) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for this PR, but this is not the proper fix because fragment child nodes can not be undefined. the underlying cause see

@edison1105 edison1105 closed this Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Rejected

Development

Successfully merging this pull request may close these issues.

3 participants