A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vue-next/commit/43f78151bfdff2103a9be25e66e3f3be68d03a08 below:

avoid changing the reference of vnode.dynamicChildren … · vuejs/core@43f7815 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+4

-4

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+4

-4

lines changed Original file line number Diff line number Diff line change

@@ -84,13 +84,13 @@ export const TeleportImpl = {

84 84

} = internals

85 85 86 86

const disabled = isTeleportDisabled(n2.props)

87 -

const { shapeFlag, children } = n2

87 +

let { shapeFlag, children, dynamicChildren } = n2

88 88 89 89

// #3302

90 90

// HMR updated, force full diff

91 91

if (__DEV__ && isHmrUpdating) {

92 92

optimized = false

93 -

n2.dynamicChildren = null

93 +

dynamicChildren = null

94 94

}

95 95 96 96

if (n1 == null) {

@@ -146,11 +146,11 @@ export const TeleportImpl = {

146 146

const currentAnchor = wasDisabled ? mainAnchor : targetAnchor

147 147

isSVG = isSVG || isTargetSVG(target)

148 148 149 -

if (n2.dynamicChildren) {

149 +

if (dynamicChildren) {

150 150

// fast path when the teleport happens to be a block root

151 151

patchBlockChildren(

152 152

n1.dynamicChildren!,

153 -

n2.dynamicChildren,

153 +

dynamicChildren,

154 154

currentContainer,

155 155

parentComponent,

156 156

parentSuspense,

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4