Commit 73e5d2c
Remove state between connectAdvanced calls in example (#685)
When I saw this example I was initially excited by the prospect of storing `state` between `connectAdvanced` calls.
I thought of the uses like storing the deleted todo items, or even just the count. But then it dawned on me that the idiomatic approach to Redux, such as the ability for time travel - is challenged when the previous state is stored.
For newbies like myself, suggesting this in documentation can be misleading and might encourage the wrong practice.1 parent e6400f3 commit 73e5d2c
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
365 | 364 | | |
366 | 365 | | |
367 | 366 | | |
368 | 367 | | |
369 | 368 | | |
370 | 369 | | |
371 | 370 | | |
372 | | - | |
373 | 371 | | |
374 | 372 | | |
375 | 373 | | |
| |||
0 commit comments