Redux: JavaScript library for predictable state management
JavaScript library for predictable global state management using a single store and pure functions.
Learn more about Redux
Redux is a state management library that implements a unidirectional data flow pattern for JavaScript applications. It stores the entire application state in a single immutable state tree within a store, and state changes occur only through dispatching actions to pure reducer functions. The library follows three core principles: single source of truth, state is read-only, and changes are made with pure functions. Redux is commonly used with React applications but can work with any view library or framework.
Predictable State Updates
Uses pure reducer functions and immutable state updates to ensure predictable behavior. State changes follow a strict unidirectional data flow pattern.
Time-Travel Debugging
Action-based architecture allows for advanced debugging capabilities including state inspection and time-travel debugging. Every state change is traceable through dispatched actions.
Minimal Core Size
The core library is approximately 2kB including dependencies while providing a foundation for complex state management. Offers a rich ecosystem of extensions and middleware.
Patch release adjusting isPlainObject util to allow Object.create(null) and fixing a type issue.
- –fix(isPlainObject): support check Object.create(null)
- –fix(types/store): Unexpectedly narrowed return type of function Store['getState']
Major release converting codebase to TypeScript with modernized packaging and breaking changes.
- –Converts the codebase to TypeScript
- –Updates the packaging for better ESM/CJS compatibility and modernizes the build output
- –Requires that action.type must be a string
- –Continues to mark createStore as deprecated
- –Deprecates the AnyAction type in favor of an UnknownAction type that is used everywhere
Release candidate adding isAction predicate for TypeScript type guards and exporting isPlainObject util.
- –Add isAction type predicate
- –export isPlainObject
- –Update build tooling for 5.0
See how people are using Redux
Top in Frontend
Related Repositories
Discover similar tools and frameworks used by developers
Remix
Full-stack web framework built on web standards with modular routing, middleware, and session packages.
RemixIcon
3100+ neutral-style SVG icons in outlined and filled variants.
Chakra UI
Themeable React components with built-in accessibility and Emotion styling.
Angular Components
Material Design components and utilities for Angular applications.
React Use
Pre-built hooks wrapping browser APIs and common patterns.