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
This seems more natural to use. The first version I find I have to lookup the syntax each time, it's not obvious.
It's also a more natural progression for learning. For example you start with the basic:
<router-link to="/foo">Go to Foo</router-link>
And then to add a param you just add the param prop:
<router-link to="/foo" :params="{bar:123}">Go to Foo</router-link>
It's much easier for end users to learn and adopt. It's more obvious and straight forward. It's also backwards compatible (in that you just don't use the new props and the old way works also).
The text was updated successfully, but these errors were encountered:
What problem does this feature solve?
Using the to parameter is overly verbose for example:
What does the proposed API look like?
Would be better to move some of the fields as props so you could have:
This seems more natural to use. The first version I find I have to lookup the syntax each time, it's not obvious.
It's also a more natural progression for learning. For example you start with the basic:
And then to add a param you just add the param prop:
It's much easier for end users to learn and adopt. It's more obvious and straight forward. It's also backwards compatible (in that you just don't use the new props and the old way works also).
The text was updated successfully, but these errors were encountered: