Skip to content

Commit 3fdbb55

Browse files
author
Daniel Martinez
committed
add missing determiner
1 parent 8272831 commit 3fdbb55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/basics/Actions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { ADD_TODO, REMOVE_TODO } from '../actionTypes';
2121

2222
>##### Note on Boilerplate
2323
24-
>You don’t have to define action type constants in a separate file, or even to define them at all. For a small project, it might be easier to just use string literals for action types. However, there are some benefits to explicitly declaring constants in larger codebases. Read [Reducing Boilerplate](../recipes/ReducingBoilerplate.md) for more practical tips on keeping your codebase clean.
24+
>You don’t have to define action type constants in a separate file, or even to define them at all. For a small project, it might be easier to just use string literals for action types. However, there are some benefits to explicitly declaring constants in larger codebases. Read [Reducing Boilerplate](../recipes/ReducingBoilerplate.md) for more practical tips on keeping your codebase clean.
2525
2626
Other than `type`, the structure of an action object is really up to you. If you’re interested, check out [Flux Standard Action](https://github.com/acdlite/flux-standard-action) for recommendations on how actions could be constructed.
2727

@@ -34,7 +34,7 @@ We’ll add one more action type to describe a user ticking off a todo as comple
3434
}
3535
```
3636

37-
It’s a good idea to pass as little data in action as possible. For example, it’s better to pass `index` than the whole todo object.
37+
It’s a good idea to pass as little data in each action as possible. For example, it’s better to pass `index` than the whole todo object.
3838

3939
Finally, we’ll add one more action type for changing the currently visible todos.
4040

0 commit comments

Comments
 (0)