Skip to content

Commit

Permalink
Name fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mweststrate committed Jan 23, 2021
1 parent ac47354 commit 6c47843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ MobX requires that you declare your actions, although [`makeAutoObservable`](obs

2. By default, it is not allowed to change the state outside of actions. This helps to clearly identify in your code base where the state updates happen.

The `action` annotation should only be used on functions that intend to _modify_ the state. Functions that derive information (performing lookups or filtering data) should _not_ be marked as actions, to allow MobX to track their invocations. `flow` annotated members will be non-enumerable.
The `action` annotation should only be used on functions that intend to _modify_ the state. Functions that derive information (performing lookups or filtering data) should _not_ be marked as actions, to allow MobX to track their invocations. `action` annotated members will be non-enumerable.

## Examples

Expand Down

0 comments on commit 6c47843

Please sign in to comment.