Throw error when using interpolation instead of JS expression for slot names #9038
Comments
Thanks for the proposal, the warning was meant for people coming from v1 where this was allowed. Personally, I don't think it is worth adding any more warnings regarding this as it will rarely help any user |
Well, old references still exist, and it's not that obvious for new users. It surely confused me in #9037. |
kamilchlebek
added a commit
to kamilchlebek/vue
that referenced
this issue
Nov 10, 2018
…ession for slot names (vuejs#9038)
13 tasks
zleight1
added a commit
to zleight1/vue
that referenced
this issue
Dec 4, 2018
… as the "slot" property. (vuejs#9038)
13 tasks
Hello ! Is this issue fixed or yet open to be worked on ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What problem does this feature solve?
For this demo:
https://jsfiddle.net/2os9jken/
opening the console and running it throws the
Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead.
error for thespan
, but it should also throw it for theslot
, as it has the exact same issue for itsname
attribute.What does the proposed API look like?
N/A
The text was updated successfully, but these errors were encountered: