We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df9131d commit 63111cbCopy full SHA for 63111cb
packages/runtime-vapor/src/block.ts
@@ -119,7 +119,9 @@ export class DynamicFragment extends VaporFragment {
119
// create an anchor
120
const { parentNode, nextSibling } = findLastChild(this)!
121
parentNode!.insertBefore(
122
- (this.anchor = createComment(this.anchorLabel!)),
+ (this.anchor = __DEV__
123
+ ? createComment(this.anchorLabel!)
124
+ : createTextNode()),
125
nextSibling,
126
)
127
advanceHydrationNode(this.anchor)
0 commit comments