Skip to content

Commit

Permalink
Merge pull request goatslacker#610 from lsanwick/master
Browse files Browse the repository at this point in the history
Remove reference to this.dispatch
  • Loading branch information
goatslacker committed Jan 28, 2016
2 parents 8ed507b + 6bb27c6 commit 59416c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/getting-started/actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The first actions we create will be simple, they'll take in an array of location

We create an action by creating a class, the class' prototype methods will become the actions. The class syntax is completely optional you can use regular constructors and prototypes.

Inside those actions you can use `this.dispatch` to dispatch your payload through the Dispatcher and onto the stores. Finally, make sure you export the created actions using `alt.createActions`.
Whatever value you return from your action will be sent through the Dispatcher and onto the stores. Finally, make sure you export the created actions using `alt.createActions`.

---

Expand Down

0 comments on commit 59416c7

Please sign in to comment.