Deep Dive into Redux Toolkit with React - Complete Guide

In this video we will take a comprehensive view into Redux Toolkit (RTK) - the official way of setting up a redux application. We will look into all the features it comes with, go over the various functions it comes included with, and we will also set up a simple redux application in React in both the traditional way and also the redux toolkit way to compare. ⚠️ Corrections: - At 3:12:43 I compare the bundle size of Redux and Redux Toolkit using npm page’s “Unpacked Size“ number. This is misleading because this size includes all parts of the package, including dev-only packages. A better measure to compare the actual size of the package that will impact your code is using Bundlephobia. According to Bundlephobia, the size of redux-toolkit (as of version ) is , whereas redux is at . While RTK is still bigger, it is no way as big as I show in the video. Not only that, the redux team immer team is still hard at work to better tree-shaking within the Immer lib
Back to Top