Redux with React - Full Tutorial (2023)

Опубликовано: 10 Ноябрь 2023
на канале: Austin Davis
2,867
102

In this video we're going to learn how to easily set up Redux in your React project. This tutorial is up-to-date with standard Redux practices in 2023, and is FAR simpler than many tutorials that were released years ago before Redux toolkit existed. By the end of the video, my hope is that you'll never have to watch another Redux tutorial again!

Redux is a state management tool that allows you to make a global store for your state that can be accessed from anywhere in your application. Redux toolkit is the modern way of implementing Redux into your app, and that's exactly what we'll cover!

To connect Redux with React, we'll need to use the official react-redux library, which I will also show you in this video! This particular library contains two important hooks: useDispatch, and useSelector.

I'm very close to hitting 1000 subs, so I would greatly appreciate if you could subscribe and support me! It helps out tremendously :)

Timestamps:
0:00 - What is Redux?
2:49 - Store, Actions, Reducers
5:59 - Redux Configuration
8:17 - Creating a slice
15:11 - Adding to store
16:21 - Changing state
20:16 - Selecting state
22:51 - Adding more state

Hashtags:
#redux #reactjs #reacttutorial


Смотрите видео Redux with React - Full Tutorial (2023) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Austin Davis 10 Ноябрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,86 раз и оно понравилось 10 людям.