Closed
Description
I just checked out the new v2.0 Introduction, and thought I would comment on the dynamic attribute:
The entire example feels really contrived in my opinion:
- I can't think of an everyday situation where I would want a dynamic id
- I can't think of a single time I've used the more verbose 'v-bind' syntax; it looks kludgy in its longhand form, and the shorthand version would look more accessible for new users
- I had no idea what "Inspect me" meant for a good 20 - 30 seconds
- When I did, you have to use the Developer Tools to work out what's changed
Anything other than id
would be more intuitive as the 3rd example on the page, such as class
, title
, href
or src
- all immediately visible on the page!
- title: https://jsfiddle.net/ft1u4ptq/
- href: https://jsfiddle.net/h4f9z6t1/
- img: https://jsfiddle.net/ygk08ed9/
Just my 2c; id
is just a recipe for confusion.
Metadata
Metadata
Assignees
Labels
No labels