Removes a subscribed callback from the stores change event listeners.

📘

React Components

When used with React the react component mixin handles binding and unbinding stores and actions, see the Flux property of the mixin for more information.

var context = fluxapp.getContext();
var store = context.getStore('name');

function onChange(state) {
  // will only be called once
  store.removeChangeListener(onChange);
}

store.addChangeListener(onChange);

👍

On to setState(state)