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

preview_player
Показать описание
#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 -

Source Code -

If any questions, ask here -

useContext Tutorial -

Context API with useReducer Hook Tutorial -

Learn React From Scratch -

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 -

Quiz App in React JS and Material UI -

Dictionary App in React JS and Material UI -
Рекомендации по теме
Комментарии
Автор

Your speech is very clear, so we can easily understand your words

tubewell
Автор

This is helpful. Thankyou for all your efforts.

surajgoraicse
Автор

Very nicely explained. Best tutorial so far💯

lakshyasharma
Автор

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!!

MelodiesByAnkita
Автор

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

sidforreal
Автор

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?

devisuprajaratakonda
Автор

Need alot of MERN projects with redux and jwt auth

zakriajanjua
Автор

Now i am using useReducer in Custom hook, but its showing an error - "dispatch is not function"

tubewell
Автор

waiting for react portfolio project and resume level MERN project

Sonu-tgtg
Автор

Please do a video on react authentication.validation topics urgently

shinoyjames
Автор

plz atleast explain why useEffect is used and how it is diffferent, rest is awesome!

AmirHussain-ddzw
Автор

useEffect(() => {
setCount({
num: 5,
id: "random",
});
}, [count]);
can you please explain in detail why it is not causing infinite loop as we are setting new object everytime and that new object has different reference point.

rohitbansal
Автор

setState is still asynchronously updated when using the functional setter.

fifty-plus
Автор

Humble Feedback regarding Maths:
Subtract is correct,
Substract is not correct.

rishiraj
Автор

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

mohininarwade
Автор

sir impatiently awating of your mern series

nawazishali
Автор

this is definetly not for beginners ...weirdly explained! no whys

imasunflowerlilfunny
Автор

nice video but its not for the beginner language is little complex

mrsahilkhan
Автор

Please explain the uses, scenarios etc... this explanation is so shallow yaar...

mohininarwade
Автор

It's very difficult for fresher to understand these topic as the code is messy.

navinkandpal