Closed ghost closed 7 years ago
+1
I've just noticed this: the redirect() function. It seems we should be using redirect() instead of FlowRouter.go() inside our FlowRouter functions. https://github.com/kadirahq/flow-router#redirecting-with-triggers
I'm gonna try it out.
Inside the normal .enter function, the 2nd param is a reference to the func
doRedirect(url, params, queryParams)
Seems to work fine.
When redirecting to a route that redirects to a second route, the URL shows the path used in the first call to FlowRouter.go()
This bug exists in FF and Chrome.