See ReactComponentView
and BackboneModelWatchMixin
, below.
The BackboneModelWatchView
could use some additional methods to allow adding/removing watched models after the component is created.
# Reference Backbone ajax function | |
_ajax = Backbone.ajax | |
requestQueue = [] | |
requestPending = false | |
sendRequest = (options, promise, trigger=true) -> | |
options = _.clone options | |
if trigger | |
requestPending = true |