Bat Manson
Jul 29, 2017 · 1 min read

If you found that you Redux Ducks files were growing too large to be convenient to read/edit/use, and that you were not capable of finding smaller underlying modules, splitting them by roles like your recommendation makes total sense.

  1. We were lucky enough to always have many small Redux ducks files we could compose.
  2. We used https://github.com/speedskater/babel-plugin-rewire to limit what the Redux ducks file has to export, but still test the different underlying elements.
  3. What worked for us may not be sufficient for you. You are the one knowing the most about your constraints!

    Bat Manson

    Written by

    Co-founder of @matterstech. Happy coding stuff making the world a better place.