- Notifications
You must be signed in to change notification settings - Fork111
Commitd2c6478
authored
Simplify the empty epic to actually do nothing
The current `emptyEpic` could create an infinite loop if an end user actually dispatched an element of type `noop`. Using `ignoreElements` instead will just sink all actions.1 parent163377f commitd2c6478
1 file changed
+2
-3
lines changedLines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | | - | |
| 124 | + | |
126 | 125 | | |
127 | 126 | | |
0 commit comments
Comments
(0)