Subscribe on changes!

[SSR]bug: Unintended attribute binding for components

avatar
Dec 20th 2021

Version

3.2.26

Reproduction link

codesandbox.io

Steps to reproduce

Create component A with nested component B and some other element with v-bind="$attrs" that should bind attributes provided only to this element, then in parent use component A with attrs like type="text". In SSR both elements in component A will have that attribute.

What is expected?

Only component B should have attributes provided by parent

What is actually happening?

Both elements have attribute provided by parent