Skip to content

ssr unexpected hydration bailout with <pre> tag #5992

@FranckFreiburger

Description

@FranckFreiburger

Version

2.3.4

Reproduction

Here what happens on F5 (reload) key:
ssr_pre_tag_issue
(It happens only once, the video is looped)

Steps to reproduce

Add a <pre> tag in App.vue of the vue-hackernews-2.0 demo:

<template>
  <div id="app">
    <header class="header">
    <pre style="background-color: #aaa">
foobar
    </pre>
      <nav class="inner">

What is expected?

client-side and server-side have the same version for the <pre> tag

What is actually happening?

client and server side versions are not the same, then bailout ?, then <pre> tag content is flickering

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions