Redux Patterns and Anti-Patterns
Chet Corcos

Thanks for the article, yet personally I’d say the last example with test of `App reducer` is not a good practice:

  • If you would add another mutation to the code, the test would not fail.
  • It’s leaking internal implementation of the reducer, which is a pure function and should be tested as a black box.
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.