Skip to content

vue/nuxt3 weird ref prop behaviour #9902

@Ischafak

Description

@Ischafak

Vue version

3

Link to minimal reproduction

https://codesandbox.io/p/devbox/dazzling-lake-wsdcds?file=%2Fpages%2Findex.vue%3A3%2C8

Steps to reproduce

just click the button and check the console

What is expected?

i should see the new value (in my scenario 2)

What is actually happening?

i am changing the id inside data object and calling a function inside of the component but i see the old value inside function

System Info

Macos opera

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions