Skip to content

Instantly share code, notes, and snippets.

@arqex
Created September 19, 2015 13:33
Show Gist options
  • Save arqex/a28ccc1fe69d5c80dd26 to your computer and use it in GitHub Desktop.
Save arqex/a28ccc1fe69d5c80dd26 to your computer and use it in GitHub Desktop.
// 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