Search code examples
redux

When do you need to construct a new reducer?


I am new to redux and i dont know when do i need to construct a new one


Solution

  • The Style Guide recommends to structure your application by feature so you would usually create a new slice (and thus reducer) per feature.

    But in the end it is entirely up to you and what you personally find most readable and maintainable.