Unify next()
for beforeRouteUpdate
and beforeRouteEnter
#1676
Labels
next()
for beforeRouteUpdate
and beforeRouteEnter
#1676
What problem does this feature solve?
Hi there,
it would make our code base simpler if we received
vm
inbeforeRouteUpdate
too even though this method already has access tothis
. Then if the same logic applies forbeforeRouteUpdate
andbeforeRouteEnter
it could be handled uniformly in one method only:Yes, sometimes you need to handle both the methods in a different way but if not this is a nice short cut. Is it possible to do it in Vue.js or not?
Kind regards,
Nobo
The text was updated successfully, but these errors were encountered: