Skip to content
Snippets Groups Projects
Commit 79378afe authored by Louis's avatar Louis :fire: Committed by GitHub
Browse files

Update README.md

parent eda6359c
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,12 @@ One of the following: ...@@ -8,6 +8,12 @@ One of the following:
- `yarn add @commander-lol/redux-reducer` - `yarn add @commander-lol/redux-reducer`
- `ied i -S @commander-lol/redux-reducer` - `ied i -S @commander-lol/redux-reducer`
## Why?
redux-reducer strips out the common boilerplate used to determine what actions to take when a reducer is run, and allows
you to programmatically compose a reducer at runtime. It also handles the default case for you, saving potentially hours
of bug hunting when you overlook it.
## Usage ## Usage
When you're writing reducers for Redux, you probably have something similar to the following: When you're writing reducers for Redux, you probably have something similar to the following:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment