Skip to content

Commit

Permalink
✨ action types names are exported (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabien JUIF authored Jul 21, 2017
1 parent 4c1d995 commit 994cb03
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,10 @@ dispatch(
},
])
)

```

You can also retrieve action name like this : `todos.SET`

### selectors
The factory returns a function (this is the reducer) that also contains actions and selectors as fields.
Some generic selectors are available. By now, it's not possible to add custom ones.
Expand Down
2 changes: 1 addition & 1 deletion index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 994cb03

Please sign in to comment.