SERGIO TOMASBack to portfolio

Front-end · Tool

Redux

Predictable state for complex applications.

01Overview

Redux centralizes application state in a single, predictable store. I use it when many parts of an app share and change the same data, and the team needs traceability and debuggability.

02Key concepts

What anyone working with it needs to understand

  1. 01

    Single store

    One source of truth for global application state.

  2. 02

    Actions & reducers

    State changes described as events and handled by pure functions.

  3. 03

    Immutability

    Never mutate state; return new objects to enable change detection.

  4. 04

    Selectors

    Deriving and memoizing data with reselect.

  5. 05

    Middleware

    Extending dispatch for async flows, logging and side effects.

  6. 06

    Redux Toolkit

    createSlice, RTK Query and less boilerplate.

03In practice
Part of my React toolkit (Redux, Redux-Saga, Context API) for applications with complex shared state.