Skip to content

Commit

Permalink
improved action docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mweststrate committed Dec 27, 2016
1 parent e39ffbf commit 7c917aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/refguide/action.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ If you use babel, this plugin could help you to handle your async actions: [mobx

The `action` decorator / function follows the normal rules for binding in javascript.
However, Mobx 3 introduces `action.bound` to automatically bind actions to the targeted object.
Note that `(@)action.bound` does, unlike `action`, not take a name parameter, the name will always be based on the property the action is bound to.

Example:

Expand Down

0 comments on commit 7c917aa

Please sign in to comment.