kadirahq / flow-router

Carefully Designed Client Side Router for Meteor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

trigger on route change ?

MathieuDerelle opened this issue · comments

the enter trigger seems to only have information about the route we are entering
and
the exit trigger seems to only have information about the route we are leaving

I'd like to redirect/stop/noop based on both the current route and the route we are going to.
How can I do that ?

in fact, we can get oldRoute in trigger enter, but the query string is gone for some reason :

image

(previous route was something like /?a=b)

closing in favor of #741