You've seen how even basic usage of Riduce provides zero hassle setup, scalable state management and typesafe action creators (Simple usage with Redux ).

There's even more that you can do with Riduce:

  1. Bundle multiple actions  into a single dispatch to prevent re-rendering;
  2. Execute arbitrary reducer logic for extendability;
  3. Add custom reducers for reusability of logic; and
  4. Control action types for debugging (e.g. with Redux DevTools).

These examples are documented with Redux, but also work with useRiducer.

Bundle multiple actions

Execute arbitrary reducer logic

Add custom reducers

Control action types