ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

How to use the useReducer Hook - Better than useState for managing objects, arrays or complex data

ReactJS

React hooks

React useReducer

useReducer

learn to code reactJS

React Hooks Tutorial

Автор: Kodie

Загружено: 2022-10-09

Просмотров: 1006

Описание: React JS Tutorial - useReducer

You probably use the useState hook in every app, but did you know that in many cases the useReducer hook is even better!

Whether you're storing arrays, objects or just have conditions to apply to your state, the useReducer hook take a function as its first argument to allow you to play with the data before storing to the state.

Once you learn useReducer, you'll find yourself using it again and again.

00:00 - Introduction
00:30 - useState example
01:22 - converting to useReducer
03:35 - Setting a reducer function
05:10 - useReducer to condition data
07:35 - Switch Case to set the state data
08:47 - Summary

#ReactJS #reactuseReducer #useReducer

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
How to use the useReducer Hook - Better than useState for managing objects, arrays or complex data

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]