Created
September 19, 2015 13:33
-
-
Save arqex/a28ccc1fe69d5c80dd26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Creaing a todo item | |
// using a standard flux dispatcher | |
dispatch({actionType: 'createTodo', title: 'Do this.'}); | |
// using freezer | |
freezer.trigger('todo:create', 'Do this.'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment