All React Hooks Tutorial + Building a Custom Hook in React JS

  Рет қаралды 25,646

RoadsideCoder

RoadsideCoder

Күн бұрын

#ReactHooks #ReactTutorial #ReactJS
Learn all the React hooks in one video such as - useState, useEffect, useRef, useContext, useReducer, useCallback, useMemo, useImperativeHandle, useLayoutEffect and useDebugValue.
We will also build our own custom hook called useFetchAPI which will help us to abstract the API fetching Logic.
Support the channel by becoming member -
/ @roadsidecoder
Source Code -
github.com/piyush-eon/react-h...
If any questions, ask here -
/ roadsidecoder
useContext Tutorial -
• React Context API with...
Context API with useReducer Hook Tutorial -
• React Shopping Cart Tu...
Learn React From Scratch -
• React JS Workshop Day ...
00:00 Intro
00:52 Initialize a new React App
01:48 useState Hook
07:19 useEffect Hook
11:56 useMemo Hook
15:25 useCallback Hook
19:47 useRef Hook
25:14 useContext Hook
29:07 useReducer Hook
32:53 useImperativeHandle Hook
36:13 useLayoutEffect Hook
37:43 useDebugValue Hook
37:50 Building our own Hook ( Custom Hook )
45:19 Support the Channel ♥
Movie App in React JS and Material UI -
• Movies and TV Series S...
Quiz App in React JS and Material UI -
• Quiz App in React JS w...
Dictionary App in React JS and Material UI -
• 12 Language Dictionary...

Пікірлер: 42
@tubewell5222
@tubewell5222 Жыл бұрын
Your speech is very clear, so we can easily understand your words
@lakshyasharma7559
@lakshyasharma7559 2 жыл бұрын
Very nicely explained. Best tutorial so far💯
@jithinkgeorge2237
@jithinkgeorge2237 Жыл бұрын
very well explained
@sidforreal
@sidforreal 4 ай бұрын
Great explaination, But in useRef hook you havent added the empty dependency array in useEffect function, thats why its rendering. I am just not able to understand the useRef usecase here properly
@darshitraj1694
@darshitraj1694 2 жыл бұрын
You are Awesome!
@rishiraj2548
@rishiraj2548 Жыл бұрын
Humble Feedback regarding Maths: Subtract is correct, Substract is not correct.
@pratik_N55
@pratik_N55 2 жыл бұрын
Wow...worth spending 45 mins 👍
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
🙏🙏❤️
@tubewell5222
@tubewell5222 Жыл бұрын
Now i am using useReducer in Custom hook, but its showing an error - "dispatch is not function"
@devisuprajaratakonda8034
@devisuprajaratakonda8034 2 жыл бұрын
In useEffect functionality, when count value is given an array you told use effect will be called every time count updates. but when you resize the window count is not getting changed then how come use effect is getting called?
@JDP12345
@JDP12345 Жыл бұрын
Resize is happening because of a window resize event he added inside the useEffect to initialize.
@shinoyjames428
@shinoyjames428 2 жыл бұрын
Please do a video on react authentication.validation topics urgently
@zakriajanjua9170
@zakriajanjua9170 2 жыл бұрын
Need alot of MERN projects with redux and jwt auth
@MelodiesByAnkita
@MelodiesByAnkita Жыл бұрын
It's amazing to see how much you know, I wish I knew as much and had as much confidence. You need to realise your viewers may not be as sharp as you expect. They may not have the prerequisite knowledge you expect them to have. You need to slow down a bit :) I know this is an old video, too good to be free also. But may be plan your lessons a little better. Your knowledge makes me a fan of yours otherwise. Too good!!
@RoadsideCoder
@RoadsideCoder Жыл бұрын
Thank you so much Ankita, I think I have improved in my latest tutorial when it comes to speed of explaination.
@uselesstime6658
@uselesstime6658 2 ай бұрын
complex !! easy word and stoires
@Sonu-tg6tg
@Sonu-tg6tg 2 жыл бұрын
waiting for react portfolio project and resume level MERN project
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
Will add this to the list!
@rakhimovich_one
@rakhimovich_one 2 жыл бұрын
Thank you bro
@Sonu-tg6tg
@Sonu-tg6tg 2 жыл бұрын
@@RoadsideCoder thanks!!
@vinaypatil8009
@vinaypatil8009 Жыл бұрын
@@RoadsideCoder latest Reactjs project needed because There are some updates happen so some code doesn't work Please make modern Reactjs project because you are the best teacher
@AmirHussain-dd6zw
@AmirHussain-dd6zw Жыл бұрын
plz atleast explain why useEffect is used and how it is diffferent, rest is awesome!
@fifty-plus
@fifty-plus 2 жыл бұрын
setState is still asynchronously updated when using the functional setter.
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
Yes it is, I meant that it'll be instantly updated with respect to state.
@mohininarwade1108
@mohininarwade1108 Жыл бұрын
For me, the API is getting called multiple times continuously... please respon... what could be the reason here? I have implemented the exact way you have written it....please please reply
@murali-krishnan
@murali-krishnan Жыл бұрын
It's because of React's strict mode in the index.js file. It's helpful to catch errors don't worry about that
@imasunflowerlilfunny3353
@imasunflowerlilfunny3353 9 ай бұрын
this is definetly not for beginners ...weirdly explained! no whys
@mrsahilkhan1902
@mrsahilkhan1902 8 ай бұрын
nice video but its not for the beginner language is little complex
@nawazishali274
@nawazishali274 2 жыл бұрын
sir impatiently awating of your mern series
@mrrishiraj88
@mrrishiraj88 2 жыл бұрын
👍
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
🙏
@chandanthakur5236
@chandanthakur5236 10 ай бұрын
Web Dev Simplified
@rishiraj2548
@rishiraj2548 Жыл бұрын
🙏💯👍
@mohininarwade1108
@mohininarwade1108 Жыл бұрын
Please explain the uses , scenarios etc... this explanation is so shallow yaar...
@ahmadfaraz3678
@ahmadfaraz3678 2 жыл бұрын
Too fast. Beginner can not understand this
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
Really? I have explained everything from scratch. If the pace is fase, you can slow down the video speed
@ahmadfaraz3678
@ahmadfaraz3678 2 жыл бұрын
@@RoadsideCoder Yes really
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
@@ahmadfaraz3678 have u studied react before? The basics
@ahmadfaraz3678
@ahmadfaraz3678 2 жыл бұрын
@@RoadsideCoder Why are you asking this?
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
Because to follow this video, you should have atleast basics understanding of react apart from hooks
@navinkandpal6767
@navinkandpal6767 2 жыл бұрын
It's very difficult for fresher to understand these topic as the code is messy.
Learn React Hooks: useRef - Simply Explained!
12:42
Cosden Solutions
Рет қаралды 74 М.
Не пей газировку у мамы в машине
00:28
Даша Боровик
Рет қаралды 10 МЛН
Разбудила маму🙀@KOTVITSKY TG:👉🏼great_hustle
00:11
МишАня
Рет қаралды 3,9 МЛН
Кәріс тіріма өзі ?  | Synyptas 3 | 8 серия
24:47
kak budto
Рет қаралды 1,7 МЛН
¡Puaj! No comas piruleta sucia, usa un gadget 😱 #herramienta
00:30
JOON Spanish
Рет қаралды 22 МЛН
useRef hook in reactjs | Easiest way
19:44
Hitesh Choudhary
Рет қаралды 70 М.
Custom Hooks in React (Design Patterns)
12:56
Cosden Solutions
Рет қаралды 30 М.
Learn React useReducer Hook with Examples
14:19
Lama Dev
Рет қаралды 166 М.
10 React Hooks Explained // Plus Build your own from Scratch
13:15
Fireship
Рет қаралды 1,3 МЛН
Learn useState In 15 Minutes - React Hooks Explained
15:45
Web Dev Simplified
Рет қаралды 1,1 МЛН
Learn useReducer In 20 Minutes
20:12
Web Dev Simplified
Рет қаралды 485 М.
Не пей газировку у мамы в машине
00:28
Даша Боровик
Рет қаралды 10 МЛН