Open train860 opened 9 years ago
Yep, an example, how to do it, would be nice.
async routing sounds pretty much like what you want.
var router = new director.http.Router().configure({ async: true });
router.on('/:foo/:bar/:bazz', function (foo, bar, bazz, next) {
// Go do something async, and determine that routing should stop
next(false);
});
In fact,I want to make my app works like angularjs's resolve,load data from server complete,then change url and render view.Is it possible for director?I want to use react as view!