Skip to content

<noscript> -> The client-side rendered virtual DOM tree is not matching server-rendered content #9724

@MichaelJCole

Description

@MichaelJCole

Version

2.6.8

Reproduction link

https://stackoverflow.com/a/49202327/1483977

Steps to reproduce

Facebook pixel is an analytics tracking pixel. The code includes a backup tag.

When my default layout template includes this noscript tag I get an error like this one:

[Vue warn]: The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside

, or missing . Bailing hydration and performing full client-side render.

What is expected?

No warnings

What is actually happening?

Unnecessary warnings (Vue doesn't render noscript tags) or a bug (Vue does render noscript tags)

vue.runtime.esm.js:587 [Vue warn]: The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside [p>, or missing [tbody>. Bailing hydration and performing full client-side render.


This is using Vue bundled in Nuxt 1.0

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