Subscribe on changes!

`HRM` error

avatar
Nov 26th 2022

Vue version

3.2.41

Link to minimal reproduction

https://stackblitz.com/edit/vitejs-vite-3yjdqc?file=src%2FApp.vue

Steps to reproduce

Case 1:

  1. Open stackblitz link and edit App.vue component.
  2. Move <normal-component></normal-component> component before the element <div class="p-4 bg-yellow-500"></div> in line 3.
  3. Now you can see the list is not rendered properly, and in the console you can see this error:

image

Case 2:

  1. Open stackblitz link and edit App.vue component.
  2. Insert any character like a before the element <div class="p-4 bg-yellow-500"></div> in line 3.
  3. Now you can see the list is not rendered properly, and in the console you can see this error:

image

Additional case:

In both cases, if you undo these changes we obtain those errors in console:

image

What is expected?

I expect to get the list rendered correctly.

What is actually happening?

List don't render properly after move NormalComponent inside list

System Info

shell
System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 16.14.2 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 7.17.0 - /usr/local/bin/npm
  npmPackages:
    @vitejs/plugin-vue: ^3.1.2 => 3.1.2 
    vite: ^3.1.8 => 3.1.8

Any additional comments?

No response

avatar
Nov 26th 2022

Hi @zhangzhonghe maybe this is related with: https://github.com/vuejs/core/issues/6978

avatar
Nov 27th 2022

Duplicate of #6978