Is this a reasonable way to implement React/Flux with Backbone?
github.com
github.com
https://github.com/facebook/react/blob/master/examples/todom...
waitFor: function(/array/ promiseIndexes, /function/ callback) {
var selectedPromises = _promises.filter(function(/*object*/ _, /*number*/ j) {
return promiseIndexes.indexOf(j) !== -1;
});
Promise.all(selectedPromises).then(callback);
}