React Hooks: useReducer

  Рет қаралды 4,099

Sam Meech-Ward

Sam Meech-Ward

Күн бұрын

Learn how to use the useReducer hook to manage state inside of your components.
This is video #8 in my react series:
#7 React State Array of Objects: • React State Array of O...
#9 Conditional Rendering: • Conditional Rendering ...
www.sammeechward.com/useReducer
Chapters
0:00 useState
1:24 reducer function
3:37 dispatch actions
9:20 reducer is a pure function
11:37 summary
🔗Links
My Website: www.sammeechward.com
Instagram: / meech_ward
Twitter: / meech_ward
Github: github.com/orgs/Sam-Meech-Ward

Пікірлер: 18
@lollilolli4582
@lollilolli4582 8 ай бұрын
Finally I understood what is what does reducer function do ... Thank you !
@bikraa6949
@bikraa6949 15 күн бұрын
i'm not really good at english but your explenation is easy to understand, thanks sir
@weizhang2389
@weizhang2389 Жыл бұрын
This channel deserves 1m subscribers
@matthewbeardsley7004
@matthewbeardsley7004 Жыл бұрын
Yep, great content Sam, you teach me something new everytime!
@hananfadah
@hananfadah 4 ай бұрын
Liked, subscribed and I what to thank you for this very great tutorial..
@shashankbhat6184
@shashankbhat6184 Жыл бұрын
Good content explained neatly. Thanks man🙌
@kishoreandra
@kishoreandra Жыл бұрын
Great video Sam 🙌
@user-nw8zd9ne3g
@user-nw8zd9ne3g Жыл бұрын
Nice explanation dude 😉😉 greate !!!!
@umutcan8521
@umutcan8521 Жыл бұрын
thanks for everything bro i dont know very well english but your video better than my own language :D
@eyal5camel
@eyal5camel Жыл бұрын
great video!
@adriananin3150
@adriananin3150 7 ай бұрын
Awesome video ! How are you getting the autocomplete for the dispatch functions though ?
@Lunolux
@Lunolux Жыл бұрын
nice, thx
@7doors847
@7doors847 Жыл бұрын
🔥!
@augischadiegils.5109
@augischadiegils.5109 Жыл бұрын
niceee
@psyferinc.3573
@psyferinc.3573 Жыл бұрын
can you do a more complicated useReducer video where the initial state is 2 arrays and each of them receive objects from multiple imput buttons. im trying to use state to store the opening and closing hours upon entity creation so i can send in bulk to the database and its been a challenge figuring out how to be efficient about it where i can use the same state where i use them on the front end
@kamblikritarth
@kamblikritarth Жыл бұрын
I have a question, after deploying all the jokesReducer function to a separate jsx file, the submit and sort functions do not work and return a blank screen instead.
@francisfuwaku
@francisfuwaku Жыл бұрын
make sure you are exporting the all that needs to be exported from that js file
@user-ee8pe6se6t
@user-ee8pe6se6t 3 ай бұрын
why is jokesReducer outside of App()?
Conditional Rendering Components in React
13:10
Sam Meech-Ward
Рет қаралды 6 М.
React Hooks: useEffect - Everything You Need To Know
43:23
Sam Meech-Ward
Рет қаралды 3,7 М.
The Worlds Most Powerfull Batteries !
00:48
Woody & Kleiny
Рет қаралды 27 МЛН
When Steve And His Dog Don'T Give Away To Each Other 😂️
00:21
BigSchool
Рет қаралды 16 МЛН
Learn React useReducer Hook with Examples
14:19
Lama Dev
Рет қаралды 167 М.
React Props are Easy
18:05
Sam Meech-Ward
Рет қаралды 7 М.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 452 М.
Learn useReducer with Typescript + React Hooks
18:19
Dave Gray
Рет қаралды 17 М.
Comprendre le hook useReducer de React
35:51
Atomic React
Рет қаралды 4,5 М.
Learn React Hooks: useReducer - Simply Explained!
13:48
Cosden Solutions
Рет қаралды 44 М.
This Is How You Handle Events In A React App
9:15
Sam Meech-Ward
Рет қаралды 4 М.
i love you subscriber ♥️ #iphone #iphonefold #shortvideo
0:14
Si pamerR
Рет қаралды 2,5 МЛН
#miniphone
0:16
Miniphone
Рет қаралды 2,7 МЛН
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 30 МЛН
iPhone 15 Unboxing Paper diy
0:57
Cute Fay
Рет қаралды 3,4 МЛН
wireless switch without wires part 6
0:49
DailyTech
Рет қаралды 3 МЛН