Redux Toolkit Setup with Next.js V14

preview_player
Показать описание


Redux Toolkit - The official, opinionated, batteries-included toolset for efficient Redux development

Global state makes managing shared data easier. Storing all of an application's state in a global object makes it easier to manage from a single location rather than having to pass data down through the component hierarchy. It can make code easier to understand and maintain.

Any component that interacts with the Redux store (creating it, providing it, reading from it, or writing to it) needs to be a client component. This is because accessing the store requires React context, and context is only available in client components.

――――MUSIC――――

――――

Рекомендации по теме
Комментарии
Автор

Would I change the entire app to dark mode? From what I see I have to change the state every time I enter a route

chrisjack
Автор

thanks man, that helped a lot. Should add some voice guidance in next videos which would be amazing :)

loground
Автор

Təşəkkürlər.bu formada istifadə etdikdə server-side işləyə bilir ?

turalmemmedzade
Автор

Biggest nonesense I have seen I thought we gonna get redux with connection for BE, like when we are doing API calls we used redux toolkit

erjohn