Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Node attribute value is not reactive after client side hydration #11398

Copy link
Copy link
Open
@berniegp

Description

@berniegp
Issue body actions

Version

2.6.11

Reproduction link

https://codesandbox.io/s/ssr-reactivity-up6nh?file=/pages/index.vue

Steps to reproduce

  • The id attribute of the div does not match the myid value from the component (requires page refresh sometimes on first load).
  • Notice that $forceUpdate() (first button) does not update the id attribute of the div
  • Changing the value of the val data (second button) property triggers the reactivity

What is expected?

Every reference to the myid computed property should match

What is actually happening?

The id attribute of the div does not match the myid value


The same component used in client-side rendering does not exhibit this issue.

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.