-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When a props
property is undefined, component does not render the received style.
#749
Comments
It appears to be something on attributes merge. |
vuejs/rfcs#92. |
Maybe |
All attrs will fallthrough in vue 2.x |
@ysj16 see the RFC linked in the commit. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
3.0.0-alpha.5
Reproduction link
https://codepen.io/hareku/pen/PoqGdYB
Steps to reproduce
ChildWithProps
.ChildWithoutProps
.What is expected?
The span elements of
ChildWithProps
andChildWithoutProps
should have `style="font-size: red".What is actually happening?
ChildWithoutProps
does not have `style="font-size: red".I think, even props is undefined, components should work the same as
ChildWithProps
.The text was updated successfully, but these errors were encountered: