Тёмный

React useReducer Hook | To-Do App| State Management in React Functional Components 

Nisha Singla
Подписаться 33 тыс.
Просмотров 12 тыс.
50% 1

useReducer Hook is another built in Hook in React to handle complex state management.
if your component has simple states like string, boolean then useState Hook is sufficient and you used use this only but as project grow, complexity also increase and in that case handling states with useState will be tough, there useReducer Hook will be better option.
useReducer takes 3 parameters ,
1) reducer function (required parameter ): redux is a pure function that takes previous state and action an argument and return the next state.
2) Initial State:(required parameter ) With this state, you reducer will initialise
3) init function(optional): if you pass third parameter, then it will initialise the initial state lazily.
Watch the complete video till the end to understand core of useReducer hook with basic Todo App.
Support the channel by liking this video and share in your network if you learnt something new :)
Checkout my Instagram account to find the latest notes on React, Angular and Javascript.
Instagram handler Name: @nishasingla05
Watch complete video to understand in depth.
Support my channel by liking and sharing my videos so that I can reach to wider audience.
►Checkout previous video useState Hook (part-2)
• useState Hook in React...
►Checkout previous video useState Hook (part-1)
• useState Hook in React...
►Checkout previous video Hooks
• Hooks in ReactJS: Wha...
►Project Setup using create-react-app
• ReactJS Tutorial: What...
►Virtual DOM and Real DOM
• ReactJS Tutorial: What...
►ReactJS Introduction
• ReactJS Tutorial - Int...
►Click here to Subscribe the channel:
studio.youtube....
►All important shorts videos:
ru-vid.com....
Connect with Me On Social Media
Facebook: / angularjs4be. .
LinkedIn: / nisha-sin. .
Instagram : / nishasingla05
Twitter: / nishasingla05
#nishasingla #javascript #reactjs

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@smeetcoder9021
@smeetcoder9021 Год назад
Most Underrated RU-vidr Mind Blowing Explanation Even after paying lacs the education institute can't but She is Insane Thank you Mam. dispatch({type:"Best Teacher",payload:"Thank You"})
@lowlifeglitch6199
@lowlifeglitch6199 5 месяцев назад
Very nice! Please, would you add 'UPDATE_TASK' case to this TodoList?
@catwit5929
@catwit5929 Год назад
next level explanation....... you earn a subscriber
@jayantverma3335
@jayantverma3335 9 месяцев назад
mere ko kisi ka samajh niaya apke alava thanks main bohot time sai easy way dhund rha tha
@catica33111
@catica33111 Год назад
Great explanation! Thank you so much for sharing your knowledge 😊
@NityaWithKomalMumaa
@NityaWithKomalMumaa Год назад
It is very helpful and very well explained.
@laishramsingh8665
@laishramsingh8665 Год назад
Nicely explain.thanks🎉
@UjjwalKumar-b5f
@UjjwalKumar-b5f 5 месяцев назад
seen lots of use Reducer videos but you have explained everything in detail 😍😍
@affanshaikh8484
@affanshaikh8484 8 месяцев назад
Awesome explanation. Thank you so much
@adeyanjumusliyu5086
@adeyanjumusliyu5086 Год назад
Where is the source code. For a beginner to think along the lecture
@akashkumawat5602
@akashkumawat5602 Год назад
Great nisha this is simple and to the point.✌
@bishwajeetpandey1570
@bishwajeetpandey1570 Год назад
Osm👍🏻
@bapandas1746
@bapandas1746 Год назад
Great 😊👍 explanation
@weforyouweb1165
@weforyouweb1165 10 месяцев назад
Superbly explained
@RavindraSingh-zg9eq
@RavindraSingh-zg9eq Год назад
Amazing doing great job
@washimbari0001
@washimbari0001 Год назад
Great clean detailed lecture
@Chaudharyhammad
@Chaudharyhammad Год назад
Great explanation mam
@4444-c4s
@4444-c4s Год назад
Video pe Video...🙌😌
@LearnReactWithDeep
@LearnReactWithDeep Год назад
very helpful ❤
@pinakapani8250
@pinakapani8250 Год назад
very useful ❤
@shyamkumarmuchulapuri1008
@shyamkumarmuchulapuri1008 Год назад
@shubhamdhivar5971
@shubhamdhivar5971 Год назад
I made wesite in react
@ScavengerYT9
@ScavengerYT9 4 месяца назад
Wesite?😂😂😂
@ravinegi2189
@ravinegi2189 Месяц назад
keep it up! me and nisha ji with you
@akiratoriyama1320
@akiratoriyama1320 Год назад
Great video!!! Waiting for useContext!!
Далее
🔴 #20: What is useReducer Hook in React in Hindi
17:31
# Rural Funny Life Wang Ge
00:18
Просмотров 586 тыс.
JavaScript Interview Question 🔥@NishaSingla
0:56
Просмотров 2,4 тыс.
Learn React Hooks: useReducer - Simply Explained!
13:48
React Hooks: useReducer
12:12
Просмотров 5 тыс.
Every React Concept Explained in 12 Minutes
11:53
Просмотров 667 тыс.
Learn React useReducer Hook with Examples
14:19
Просмотров 176 тыс.
ALL React Hooks Explained in 12 Minutes
12:21
Просмотров 132 тыс.