Skip to content

v-memo v-for with inline array iteration error "can't access property "el", oldVNode is undefined" #4253

Closed
@lidlanca

Description

@lidlanca

Version

3.2.0-beta.7

Reproduction link

sfc playground

this is inline example that does not work an raise the error

// [1,2,3] inline array
v-for="v,k in [1,2,3]"

the following will work as expected ( when arr = [1,2,3] )

v-for="v,k in arr"

Steps to reproduce

open sfc

  1. click inc button 3 times, when v-memo trigger a change the error will show.

What is expected?

no error

What is actually happening?

Uncaught (in promise): can't access property "el", oldVNode is undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    ❗ p4-importantPriority 4: this fixes bugs that violate documented behavior, or significantly improves perf.🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions