redux-toolkit
zustand
redux-toolkit | zustand | |
---|---|---|
304 | 281 | |
10,830 | 49,939 | |
0.3% | 1.8% | |
9.7 | 9.2 | |
11 days ago | about 20 hours ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
redux-toolkit
-
What is Redux Toolkit: When and How to use it Effectively?
Redux is a predictable state management tool for JavaScript apps. A state is something that keeps the app running for example when you are asked to select gender in a website, the state is either male or female.
-
Why Zustand suceed in the React state management war?
I said the wrong shape, because I think that, if redux-toolkit was the version people used a lot in the past, their views on redux would be different today. Being more positive, than it is.
-
Getting Started with Redux and Redux Toolkit
So you can imagine how much more we'd need to write to introduce reducers and actions in a real-world application. This is where Redux ToolKit comes in very handy.
-
Simplifying State Management with Redux Toolkit: A Complete Guide
Redux Toolkit Documentation
-
A mid-career retrospective of stores for state management
Redux is rather overkill in today's front end ecosystem if you're building an MVP, and as of late more have been using redux-toolkit or useReducer to update slices of state.4
-
React 19 Finally Stable, New Rust-Based JavaScript Framework, New Developer Tools, and more
React 19 Async Features Boa v0.20 Rust-Powered Engine Safari 18.2 Developer Updates Redux Toolkit 2.5 Termo Civet Rockpack
-
Building a Scalable URL Shortener with Node.js (Part 2/2)
RTK Query: A data-fetching and state management tool for making API requests to our backend.
-
Understanding Redux: A tutorial with examples
To cut down the boilerplate, Redux provides a handy extension, popularly known as the Redux Toolkit, which is recommended for use in a React-Redux setup. Weβll cover the advantages of RTK and its utilities as we discuss the core concepts of Redux.
-
Redux Toolkit vs. Plain Redux: How Immer Transforms State Management
Redux Toolkit (RTK) is an abstraction built on top of Redux that simplifies its usage by reducing boilerplate and making common tasks easier. RTK provides convenient functions like createSlice for generating actions and reducers in one go, and createAsyncThunk for handling asynchronous logic (like API calls). It offers tools to manage state efficiently without having to manually set up actions, reducers, and middleware, streamlining the setup process for new Redux projects.
-
QuickTip: Writing Shared (common) reducer actions in redux-toolkit
The modern way to write redux is through redux-toolkit as recommended by redux maintainers.
zustand
-
Why Zustand suceed in the React state management war?
And here we come to Zustand.
-
π React Patterns: Essential Tips and Tricks for Developers
Zustand: https://github.com/pmndrs/zustand
-
Building Modern React Apps in 2025 - A Guide to Cutting-Edge Tools and Tech Stacks
TanStack Query Zustand Jotai Context API
-
React + AI Stack for 2025
For client-side state, Zustand is the way to go. It's got zero boilerplate, a tiny bundle size, and a simple but powerful API that's easy to learn. You can create a store with just a few lines of code, which is pretty neat.
-
My 2025 Tech Stack: Tools & Tech I'm Using This Year
Zustand + Immer. I never used a state management tool because React context API was enough for me until I discovered Zustand last year. It's a simpler and straightforward alternative to Redux.
-
Share My Incorrect Usage Cases of Zustand
Zustand is a simple and easy-to-use state management library.
-
Lessons Learned: Overusing useMemo in React
State Management with Zustand: Zustand offers a lightweight and intuitive approach to managing shared state, reducing the need for derived state or excessive memoization. It simplifies managing and updating global state without extra boilerplate.
-
React v19 has been released
The people behind Jotai also made Zustand and Valtio:
https://github.com/pmndrs/zustand
https://github.com/pmndrs/valtio
To me it feels like Jotai has too much manual boilerplate and Valtio has a lot of "magic" that while I do like it I don't feel like it would be a good idea for a team. Zustand sits right in the middle of boilerplate-vs-magic, and is what I chose for a large project we're doing now.
-
Top 8 Most Popular Open-Source Next.js Boilerplates/Starter
State Management: Zustand
-
Top 10 NPM Packages to Try for React (and Beyond) in 2024
π¦ Package: zustand https://zustand-demo.pmnd.rs/ β Why You Should Try It: A small, fast, and flexible state management library thatβs simpler than Redux. It works great with React.
What are some alternatives?
redux-saga - An alternative side effect model for Redux apps
TanStack Query - π€ Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
SWR - React Hooks for Data Fetching
redux-thunk - Thunk middleware for Redux
react-query - π€ Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]
jotai - π» Primitive and flexible state management for React
MobX - Simple, scalable state management.
react-hook-form - π React Hooks for form state management and validation (Web + React Native)
react-clean-architecture - A realistic approach to implement clean architecture on react codebases
rtk-query - Data fetching and caching addon for Redux Toolkit