Routing subscribtion?


#1

I have a login page, and a profile page.
When going to /#/profile, and there is a page with segment: 'profile', it directly opens the profile page.

What I really want to do, like deeplinks, is when there is a route, get the match, but not go to that route. I will subscribe to my login action, and when it happens, I can go to profile…

It is because profile sends things to a socket, that is not open until login happens.