feat(Transition): expose previousTransition#304
feat(Transition): expose previousTransition#304buschtoens wants to merge 1 commit intoemberjs:masterfrom
previousTransition#304Conversation
|
@buschtoens whats the motivation? |
|
For the life of me, I cannot remember what I wanted this for. 😅 I think the issue was that a new transition started by a redirect has the route that initiated the redirect as I think another issue might have been: before leaving / entering a specific route the user is redirected to an interstitial route. On this route there should be a button to retry the original transition. |
You can keep track of them with the router service fairly easily if that sort of thing is what you need, but it isn't obvious to me what the expected behavior here actually should be. From the router service RFC's section on routeDidChange:
From the router service RFCs section on
Reading through that, it is clear that you can use the router services However, it is not clear to me what "initial" in the |
|
@buschtoens @rwjblue status? |
Just like you can use
.followRedirects()to follow redirections, it would be really useful to be able to walk the other direction to know where we've originally come from.