We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7127206 commit 6adbc41Copy full SHA for 6adbc41
src/react-bacon.js
@@ -47,6 +47,11 @@ module.exports.BaconMixin = ((function(){
47
}
48
return bus;
49
},
50
+ subscribeTo: function(unsub) {
51
+ var bacon = this._bacon = this._bacon || {};
52
+ var unsubscribers = bacon.unsubscribers = bacon.unsubscribers || [];
53
+ unsubscribers.push(unsub);
54
+ },
55
plug: function(stream, stateKey) {
56
var unsubscribe;
57
var component = this;
0 commit comments