React Redux

Official React bindings for Redux — performant, flexible hooks and Provider for connecting components to your store.

Library
npm
v9.3.0
23,423 stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
94 /100 Excellent
Development Activity 96
Maintenance 96
Community 84
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
84 /100 Excellent
Architecture 88
Code Quality 92
Innovation 85
Learning Curve 70

React Redux is the official React binding for the Redux state container, maintained by the Redux team. It lets your React components read data from a Redux store and dispatch actions to update it, without manually subscribing to the store or threading state through props.

Built around a small hooks API (useSelector, useDispatch, useStore) plus a Provider component, it handles subscription management, memoized selectors, and batched re-renders internally so that only the components whose data actually changed are re-rendered. It supports React 18+ concurrent rendering via use-sync-external-store and remains fully compatible with the legacy connect() higher-order component.

What You Get

  • A Provider component that makes a Redux store available to the entire component tree via React context.
  • The useSelector, useDispatch, and useStore hooks for reading state and dispatching actions from function components.
  • The classic connect() higher-order component with mapStateToProps/mapDispatchToProps for existing and class-based codebases.
  • Automatic subscription management and memoized, referentially-stable re-renders so only affected components update.
  • First-class TypeScript types and React 18/19 concurrent-rendering support via use-sync-external-store.

Common Use Cases

  • Managing global application state (auth, cart, UI flags) shared across many unrelated components.
  • Migrating class-based connect() codebases to modern hook-based Redux usage incrementally.
  • Pairing with Redux Toolkit and RTK Query for a full data and state-management layer in large React apps.
  • Building predictable, testable state flows with a single source of truth and time-travel debugging.

Under The Hood

Architecture — The public surface in src/exports.ts is deliberately thin: a Provider (src/components/Provider.tsx) writes a ReactReduxContextValue (store plus a Subscription) into ReactReduxContext (src/components/Context.ts), and the hooks in src/hooks/ read it back. useSelector (src/hooks/useSelector.ts) delegates to useSyncExternalStoreWithSelector from use-sync-external-store, so selector evaluation and equality checks drive re-renders rather than raw store subscriptions. src/utils/Subscription.ts builds a nested tree of subscriptions so a parent connected component notifies its connected children in order, avoiding stale props and zombie-child bugs. The legacy connect() path (src/connect/) composes the same primitives through selectorFactory and mapStateToProps/mapDispatchToProps/mergeProps wrappers.

Tech Stack — Written in TypeScript (94% of the repo), built with tsup into CJS, ESM, and an RSC entry, with API surface pinned via @microsoft/api-extractor. The only runtime dependency is use-sync-external-store; React, Redux, and @types/react are peer dependencies (Redux and the React types optional), targeting React 18+/19 and Redux 5. Internals shim React access through src/utils/react.ts and use useIsomorphicLayoutEffect for SSR safety.

Code Quality — The codebase is small, cohesive, and heavily commented with JSDoc and @since tags on public options. It ships an extensive Vitest suite under test/ (component, hook, integration, and dedicated typetests/ for type-level assertions run with --typecheck), plus ESLint and Prettier gating. Naming is consistent and utilities are single-purpose (shallowEqual, hoistStatics, verifySubselectors), and development-mode stability/identity checks warn on common selector mistakes.

API Design — The hooks API is minimal and ergonomic: wrap the app once in <Provider store={store}> then call useSelector/useDispatch anywhere, with almost no boilerplate. TypeScript inference is strong, and the docs recommend typed useAppSelector/useAppDispatch wrappers. The retained connect() HOC keeps older codebases first-class, and per-selector dev-mode checks make correct usage discoverable. Learning curve is moderate — the hooks are simple, but understanding selectors, memoization, and the Redux data flow takes some ramp-up.

Used by 41 apps in this directory

TypeScript
100%
Apache 2.0

ILLA Builder

Design Tools · Developer Tools · Low Code Platforms

12,333

Open-source low-code platform for building internal tools with drag-and-drop UI, reactive data bindings, and real-time collaboration.

View details
55
Repo Health
71
Technical
63
Dependency
Built with
TypeScript 100%
Updated 5 months ago
TypeScript
73%
Apache 2.0

Jitsi Meet

Collaboration · Team Chat · Video Conferencing

30,130

Open-source, end-to-end encrypted video conferencing you can self-host or embed into any web or mobile app.

View details
96
Repo Health
85
Technical
67
Dependency
Built with
TypeScript 73%
Lua 11%
JavaScript 10%
Updated 1 weeks ago
TypeScript
77%
Other

Joplin

Note Taking

56,853

The privacy-first, open-source note-taking app with end-to-end encrypted sync, AI assistance, and a powerful plugin ecosystem across every platform.

View details
93
Repo Health
87
Technical
60
Dependency
Built with
TypeScript 77%
JavaScript 14%
Updated 1 weeks ago
TypeScript
98%
Other

Kibana

Analytics · Monitoring

21,338

Your open source window into the Elastic Stack — query, visualize, and act on data stored in Elasticsearch with real-time dashboards, AI-assisted search, and automated alerting.

View details
98
Repo Health
87
Technical
63
Dependency
Built with
TypeScript 98%
Updated 6 days ago
TypeScript
94%
AGPL 3.0

Laudspeaker

Automation · Marketing

2,629

Open-source customer engagement platform for building visual, event-triggered messaging journeys across email, SMS, push, in-app, and webhooks.

View details
45
Repo Health
66
Technical
62
Dependency
Built with
TypeScript 94%
Updated 3 months ago
TypeScript
97%
Other

Lightdash

Analytics · Data Engineering

6,196

The open-source Looker alternative that turns your dbt project's metrics and dimensions into governed, self-serve charts and dashboards — no license key required.

View details
93
Repo Health
84
Technical
64
Dependency
Built with
TypeScript 97%
Updated 6 days ago
Ruby
59%
AGPL 3.0

Mastodon

Social Media

50,441

Run your own federated social network on the open ActivityPub standard with no ads, no algorithms, and no corporate control over your community.

View details
95
Repo Health
81
Technical
70
Dependency
Built with
Ruby 59%
TypeScript 24%
Updated 6 days ago
TypeScript
51%
Other

Mattermost

Collaboration · Devops · Team Chat

39,418

Open core, self-hosted team collaboration with chat, AI agents, voice calling, and deep DevOps integrations — all under your control.

View details
96
Repo Health
87
Technical
65
Dependency
Built with
TypeScript 51%
Go 40%
Updated 6 days ago
Clojure
57%
Other

Metabase

Analytics

49,827

The open-source BI platform that lets anyone ask questions and build dashboards without writing SQL — with an embedded analytics SDK and AI-powered query assistant included.

View details
95
Repo Health
84
Technical
62
Dependency
Built with
Clojure 57%
TypeScript 38%
Updated 6 days ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers