lifecyclemixin
Fire React lifecycle events on your Backbone models, collections and views.
Installation
$ npm install --save lifecyclemixin
Methods
lifecyclemixin searches your state for Backbone objects and automatically binds the events. Use these methods for models outside your state.
@addLifecycleListener(foo: Backbone.Model)
@removeLifecycleListener(foo: Backbone.Model)
Usage
var React = ;var Backbone = ;var lifecyclemixin = ; var Model = BackboneModel; var myModel = ;var Component = React;