rfcs
rfcs copied to clipboard
Deprecate string based actions
I really like this, but there is one very important use case that we need to cover before we can do this. And this is the Route#refresh method.
While you proposed a new refresh method on the RouterService, which is good, it does not cover this use-case! There must be a way to refresh the current Route from the template/controller.
I really like this, but there is one very important use case that we need to cover before we can do this. And this is the
Route#refreshmethod.While you proposed a new
refreshmethod on the RouterService, which is good, it does not cover this use-case! There must be a way to refresh the current Route from the template/controller.
Why can't you inject the router service into the controller or whatever component backs the template?
The problem is that I only want to refresh the current route, not all parent routes.
Is there still interest in moving this forwards?
@ef4 Someone would need to take over this from me.
@chriskrycho do you want to include this in #832?
That would make sense to me. I keep forgetting these still exist—it got at least partially cleaned up by removing sendAction for v4.0, just needs the rest done.
Thanks for your work here! This will be addressed as part of #832.