I'm stuck with a big backbone application.
It's running different applications within the main application. And we want to add the apps and also the routes asynchronously to the big app.
What I do now is to add the different apps asynchronously with Require.JS after the main apps is loaded. To add the new routes to the main routing I'm stop history and add the new routes and do a history start again. This works but, it has one major drawback. Every time I go to (app.navigate('x',true);) a new existing path fires the routing as many times I have history.started it. Also all the view render.
This slows the app down a lot and is totally inefficient.
Is there a way to dynamically add new routes without having to history.stop/start?