Skip to content
This repository was archived by the owner on Feb 19, 2022. It is now read-only.

0.1.4

Choose a tag to compare

@kenwheeler kenwheeler released this 22 Mar 20:39
· 18 commits to master since this release

0.1.4 Adds a new feature where a composition component is added to the base Biff object in order to attach Biff Stores to components without using mixins. This component is used as shown below:

import Flux from '../dispatcher/dispatcher';
import TodoStore from '../stores/TodoStore';

let App = React.createClass({
...
});

App = Flux.connect(App, [TodoStore], props => ({
  todos: TodoStore.getTodos(),
  pending: TodoStore.getPending(),
  errors: TodoStore.getErrors()
}));

export default App;