Redux Toolkit: Standard toolset for Redux development
Opinionated Redux utilities with simplified setup and Immer integration.
Learn more about Redux Toolkit
Redux Toolkit is a library that provides utilities for building Redux applications. It wraps Redux core functionality with simplified APIs that handle common configuration patterns, including store setup, reducer definition, and middleware integration. The library uses Immer internally to enable immutable state updates with mutative-style code, and includes Redux Thunk middleware by default. It serves as the recommended approach for new Redux applications and existing projects looking to reduce setup complexity.
Slice-based architecture
The createSlice API combines action creators, action types, and reducers into a single definition, reducing the amount of manual wiring required. This approach groups related Redux logic together rather than spreading it across separate files.
Immer integration
Built-in use of the Immer library allows developers to write reducer logic using standard mutative syntax while maintaining immutability guarantees. State updates like state.todos[3].completed = true work without manual object spreading or cloning.
RTK Query data fetching
Includes an optional data fetching and caching layer that handles common patterns like request deduplication, cache invalidation, and loading states. This reduces the need to write custom async middleware or data management logic.
import { configureStore } from '@reduxjs/toolkit';
const store = configureStore({
reducer: {
counter: counterReducer
}
});Updated AbortSignal handling to fall back when DOMException isn't available and improved TypedUseInfiniteQueryHookResult.
- –fix: use a normal Error when DOMException isn't available
- –Include page functions in TypedUseInfiniteQueryHookResult
Fixed AbortSignal handling issue in rare reset situations and updated workflows with trusted publishing and TypeScript support.
- –Use trusted publishing and harden workflows
- –Update TS typecheck matrix and add TS native job
- –Officially document TS support
- –Tweaks to AbortSignal logic
Added new RTKQ codegen config options for outputting regex constants and supporting explicit tag overrides.
- –feat: (codegen) output regex patterns for generated schemas
- –feat(codegen): support explicit tag overrides without altering defaults
Top in Frontend
Related Repositories
Discover similar tools and frameworks used by developers
Nitter
Privacy-focused Twitter front-end that removes tracking and serves content via lightweight proxy.
Meteor
Full-stack JavaScript framework with real-time data sync and zero-configuration setup for web and mobile apps.
tradingview
Custom datafeed integration for Tradingview charting library.
daisyUI
Semantic component classes extending Tailwind CSS utilities.
Redux
JavaScript library for predictable global state management using a single store and pure functions.