Search⌘ K
AI Features

Routing Patterns

Explore how routing patterns in Redux help manage side effects by decoupling message sources from destinations. Learn filtering, mapping, splitting, and aggregating techniques to control actions efficiently in various application contexts.

We'll cover the following...

At its core, Redux is all about actions that change the state. Although its architecture wasn’t directly inspired by the concepts of event sourcing and the command-query separation principle, Redux’s fundamentals are close and allow us to use existing principles and patterns to handle side effects.

There are two main types of messaging patterns to consider when working with Redux: routing patterns and transformation patterns.

You can find more information on the patterns described here and others in the great book ...