You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a component with a scoped style (parent)
Create a regular component with a template tag (children)
Create a functional component that uses h (children)
The regular children inherit the data attribute from the parent
The functional children doesn't inherit the data attribute from the parent.
What is expected?
The child functional component should receive the data attributes as if it were a template component
What is actually happening?
Functional and Regular component behaves differently in this instance :
Create a component with a scoped style (parent) Create a regular component with a template tag (children) Create a functional component that uses h (children)
The regular children inherit the data attribute from the parent The functional children doesn't inherit the data attribute from the parent.
What is expected?
The child functional component should receive the data attributes as if it were a template component
What is actually happening?
Functional and Regular component behaves differently in this instance :
Version
3.2.25
Reproduction link
stackblitz.com
Steps to reproduce
Create a component with a scoped style (parent)
Create a regular component with a template tag (children)
Create a functional component that uses
h
(children)The regular children inherit the data attribute from the parent
The functional children doesn't inherit the data attribute from the parent.
What is expected?
The child functional component should receive the data attributes as if it were a template component
What is actually happening?
Functional and Regular component behaves differently in this instance :
The text was updated successfully, but these errors were encountered: