Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Stop/Start routing

$
0
0
Well I would probably keep my application state outside of the route if they don't correspond. Pass it to each control and listen to e.g. '{state} credentials' so when the user logs in you set state.attr('credentials', loginData);

Viewing all articles
Browse latest Browse all 3491

Trending Articles