Created
April 24, 2017 14:30
-
-
Save mushfiqweb/9a01ad9eebb3c4b039127d92d4374705 to your computer and use it in GitHub Desktop.
This file contains hidden or 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