Skip to content

Commit f623022

Browse files
ruszkiyangmillstheory
authored andcommitted
Update documentation for handleActions (#173) (#174)
close #173
1 parent 1b0b6b2 commit f623022

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ The third parameter `defaultState` is required, and is used when `undefined` is
165165
import { handleActions } from 'redux-actions';
166166
```
167167

168-
Creates multiple reducers using `handleAction()` and combines them into a single reducer that handles multiple actions. Accepts a map where the keys are passed as the first parameter to `handleAction()` (the action type), and the values are passed as the second parameter (either a reducer or reducer map).
168+
Creates multiple reducers using `handleAction()` and combines them into a single reducer that handles multiple actions. Accepts a map where the keys are passed as the first parameter to `handleAction()` (the action type), and the values are passed as the second parameter (either a reducer or reducer map). The map must not be empty.
169169

170170
The second parameter `defaultState` is required, and is used when `undefined` is passed to the reducer.
171171

0 commit comments

Comments
 (0)