fluo
Version:
A prototype-based fork of the Reflux data flow library similar to Facebook Flux
15 lines (9 loc) • 412 B
JavaScript
var Publisher = require('./Publisher');
/**
* A module meant to be consumed as a mixin by a React component. Supplies the methods from
* `ListenerMethods` mixin and takes care of teardown of subscriptions.
* Note that if you're using the `connect` mixin you don't need this mixin, as connect will
* import everything this mixin contains!
*/
var publisher = new Publisher();
module.exports = publisher;