in v1 version i have pretty simple code loading html with ajax and rendering new view
$$.ajax({
url: ‘http://somedomain.com?get=’ + Msg,
crossDomain: true,
statusCode: {
404: function (xhr) {
alert(‘page not found’);
}
},
success: function (data) {
$$(’.preloaderWrap’).hide();
mainView.router.load({
content: data,
});
}
});
as i understand app.request.get replaced ajax and it is clear
Bot what is about
mainView.router.load({
content: data,
});
what i should use now?