From the course: Type-Safe Redux: Advanced Techniques with TypeScript

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Installing Redux Toolkit and setting up TypeScript

Installing Redux Toolkit and setting up TypeScript - Redux Tutorial

From the course: Type-Safe Redux: Advanced Techniques with TypeScript

Installing Redux Toolkit and setting up TypeScript

- [Instructor] Let's get the ground running by installing the Redux Toolkit packages. Redux Toolkit is like the modern simplified version of Redux, and is packed with awesome features that make state management easier and more efficient. The two main packages we need are Redux Toolkit and React Redux. You can install this by using npm, or yarn to run this on your project terminal, and depending on what you use for your initial project setup. I bet you're wondering why we need both Redux Toolkit and React Redux. Redux Toolkit is a powerful library that simplifies Redux logic. It's packed with built-in utilities that reduce boilerplates, so you can focus on writing the actual application logic. While React Redux, on the other hand, provides the bindings that allow your Redux component to seamlessly interact with your Redux store. Think of it as the bridge that connects Redux to React. To confirm that your packages were successfully installed, head over to your package.json file. As you…

Contents