Цель урока:
- Изучим Redux и Redux toolkit
- Начнём с написания Redux с нуля, чтобы вы понимали, как работает наше хранилище и какие возможности оно даёт. Затем заменим наше решение на Redux
- Разберём что такое Redux thunk и почему он теперь по умолчанию включён в Redux toolkit
- Научимся пользоваться инструментами разработки Redux для отладки приложения
- К концу урока у вас будет достаточно знаний, чтобы понять, как работает store и как с ним обращаться
Изучим темы Redux, Redux toolkit, Redux thunk, Redux-React и React dev tools
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.