Given this ```html <Comp v-for="i in 10000" /> ``` Current codegen (the 4th argument `true` indicates a child component that is also the root of the parent): ```js return ((_ctx) => { const n0 = _createFor(() => (10000), (_ctx0) => { const n2 = _createComponent(Comp, null, null, true) return n2 }) return n0 })() ``` Expected: ```diff return ((_ctx) => { const n0 = _createFor(() => (10000), (_ctx0) => { - const n2 = _createComponent(Comp, null, null, true) + const n2 = _createComponent(Comp) return n2 }) return n0 })() ```
Given this
Current codegen (the 4th argument
trueindicates a child component that is also the root of the parent):Expected:
return ((_ctx) => { const n0 = _createFor(() => (10000), (_ctx0) => { - const n2 = _createComponent(Comp, null, null, true) + const n2 = _createComponent(Comp) return n2 }) return n0 })()