React Hooks in ONE Video 2022 [ EASIEST Explanation ] | React JS Tutorial

🤩Access the Full React Course - www.udemy.com/course/the-ulti...
🗒️MY FAVORITE TOOLS & GEARS
Height Adjustable Desk - amzn.to/42qPZkb
Old Desk in Budget - amzn.to/3UlaFbm
Favorite Laptop - amzn.to/3OrqmKa
LG Monitor for Productivity - amzn.to/3uqA5tv
Silent Keyboard(Loved It) - amzn.to/3UjagGv
Mouse & Keyboard Combo - amzn.to/3Sq50hs
Extra Large Mouse Pad - amzn.to/48Nhcjv
Sony Headphones - amzn.to/3HHjYed
Cheap Earphones for Editing - amzn.to/48eBykN
Daily Use Laptop Stand - amzn.to/3Uj8JQL
Mini Speakers for Consuming Content - amzn.to/48YgAaK
Mport X Connector - amzn.to/3UoHsML
Mic - amzn.to/48eCrtD
3 Color Lightbar - amzn.to/42qgaaW
Dual Monitor Stand - amzn.to/48Nixa1
Stop Watch for Productivity - amzn.to/3Un1RBW
Dotted Diary - amzn.to/3vYBWq1
🚀Access REDUX Course:- www.udemy.com/course/the-ulti...
Learn All React Hooks in One Video. Stating with most popular hook useState and then useEffect, useContext, useRef and much more. After completing this react hooks tutorial, you will ready for apply hooks on your react projects.
UseEffect CHEATSHEET : drive.google.com/file/d/1dko8...
Topics Covered in This Tutorial
- What are hooks? Why we need it?
- useState, useEffect, useContext
- useRef, useReducer, useLayoutEffect
- useMemo, useCallback, Custom hooks
Overview
00:00 Introduction
00:15 What are hooks?
01:16 useState
09:38 useEffect
18:28 useContext
25:30 useRef
32:15 useReducer
39:42 useLayoutEffect
45:10 useMemo
49:59 useCallback
55:07 Custom Hooks
Social Media Links:
🚀COURSES : www.udemy.com/user/code-bless...
🤩INSTAGRAM : / code_blessyou
💙FACEBOOK : / 100077716056158
🐦TWITTER : / code_blessyou
😎LINKEDIN : / code-bless-you-5b76822b
Copyright Clips
Video by Jack Sparrow : www.pexels.com/video/a-man-us...
Video by cottonbro: www.pexels.com/video/congratu...
Video by fauxels: www.pexels.com/video/woman-us...
Tags
react js tutorial,react tutorial,react hooks,usememo,react tutorial for beginners,useref,useeffect react hooks,usereducer,usecontext,usestate react,hooks in react js,hooks react,react hooks tutorial,usecallback,custom hooks react,uselayouteffect,all react hooks,usestate,react js,reactjs,reactjs tutorial,usecallback react hooks,react custom hooks,react js hooks,reactjs hooks,usecontext react hooks,react hooks explained,useEffect,react hook
React Hooks in one video, React hooks crash course, React hooks in one hour, React Hooks tutorial

Пікірлер: 177

  • @rr2r2r2ra
    @rr2r2r2ra Жыл бұрын

    Just finished it. It was awesome and easy to understand. No information overload. Thank you so much for making edited quick tutorials.

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Thanks for your support❤❤❤

  • @shantanu2322
    @shantanu23229 ай бұрын

    I knew react.js . but after watched you video. I would say that is not true. Mind blowing Explanation in easy words brother very very thank you from deepest of my heart ❤

  • @CodeBlessYou

    @CodeBlessYou

    9 ай бұрын

    Thank you so much for your feedback. If you like this tutorial, checkout full react course. I just uploaded today❤❤

  • @shantanu2322

    @shantanu2322

    9 ай бұрын

    @@CodeBlessYou sure brother i will definitely watch

  • @Hacker-ry8iv
    @Hacker-ry8iv9 ай бұрын

    Simple,clean & perfect ❤THANK YOU

  • @CodeBlessYou

    @CodeBlessYou

    9 ай бұрын

    ❤❤❤

  • @ragularvind5906
    @ragularvind59068 ай бұрын

    oh man , perfect tutorial that i have been searching for. god bless u ........thankyou so much

  • @CodeBlessYou

    @CodeBlessYou

    7 ай бұрын

    Glad you liked it!

  • @Jkiddoublenickle
    @Jkiddoublenickle Жыл бұрын

    just finished it , well explained ! thank you

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Thanks for watching. Really grateful for that❤❤

  • @bilektech9585
    @bilektech9585 Жыл бұрын

    This is by far the best and well explained hooks tutorial have seen on KZread.

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Thanks for your comment🙌❤

  • @johnwilson4227
    @johnwilson4227 Жыл бұрын

    The best React hooks' course ever. Thanks a lot.

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Thanks for this comment😇❤

  • @kedukhanvilkar5390
    @kedukhanvilkar539029 күн бұрын

    One of the best video i ever seen on the internet for react hooks. Just watch this video once and understand all hooks. Thanks a lot.

  • @CodeBlessYou

    @CodeBlessYou

    28 күн бұрын

    ❤❤❤

  • @GirishShahapurkar-ko3tf
    @GirishShahapurkar-ko3tf15 сағат бұрын

    Best tutorial bro and your "take a look" after every statement is pleasant to listen🤣😍😜

  • @user-tj5su9xl4q
    @user-tj5su9xl4q3 ай бұрын

    Downloaded it to watch offline, but the incredible depth brought me back just to hit like and subscribe. 🌟 If I didn't, I'd genuinely regret not supporting a channel that goes above and beyond. Kudos for the fantastic content! 👏

  • @CodeBlessYou

    @CodeBlessYou

    3 ай бұрын

    Thank you so much for this comment. I really really grateful for your love and support❤❤❤

  • @khatariinsaan5284
    @khatariinsaan52844 ай бұрын

    Crystal Clear tutorial, Loved it !

  • @CodeBlessYou

    @CodeBlessYou

    4 ай бұрын

    Thanks for your support❤❤❤

  • @seventyMinus1
    @seventyMinus1 Жыл бұрын

    You are amazing.The way you explain things is so amazing. Thank You.

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Thank you so much for this comment!! It really inspired me for making more tutorials... Grateful for this❤😇

  • @asdfghjkl5418
    @asdfghjkl5418 Жыл бұрын

    Thanks for making it, it's best one I've seen.

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    My pleasure 😀

  • @pauldipakkr
    @pauldipakkr Жыл бұрын

    I have try to watch hooks in many so called famous educator, but you made this with details that is very good think.. ❤️

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Thanks 😀❤

  • @mr.mechcoder622
    @mr.mechcoder6223 ай бұрын

    liking you video with out watching even one hook because your explanation too cooooool🤩

  • @CodeBlessYou

    @CodeBlessYou

    3 ай бұрын

    Thank you so much for your support and trust❤❤❤

  • @devolajide
    @devolajide Жыл бұрын

    The best useState course I have taken. I have subscribed. Please do more tutorial on building projects for beginners and also simplifying more concepts. Thanks

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Sure I will create tutorial on React Beginner Project. Thank you so much for your comment and support. Grateful for that😇❤

  • @mrfrontend1
    @mrfrontend1 Жыл бұрын

    The best I have seen... Hats 📴 on your effort❤️

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Thank you so much for your support ❤️😇

  • @vinaypatil8009
    @vinaypatil8009 Жыл бұрын

    This is the best video on Hooks. Damn your teaching style is very good and simple. Thanks for your hard work 💪❤️🤠

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Thank you so much for this comment❤

  • @skkingcse
    @skkingcse4 ай бұрын

    Awesome , 👍 Thank you for clear explanation 😊

  • @CodeBlessYou

    @CodeBlessYou

    4 ай бұрын

    Grateful for that❤❤❤

  • @ailequal
    @ailequal Жыл бұрын

    Great work, thank you!

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    My pleasure! Thanks for comment❤

  • @lestratege4
    @lestratege414 күн бұрын

    Best vidéo bro.. Thx a lot.. Nice, simple and good explanation like a kid can Understand... Omg great work

  • @CodeBlessYou

    @CodeBlessYou

    13 күн бұрын

    Glad to hear that❤❤❤

  • @honkhonkv2236
    @honkhonkv2236Ай бұрын

    Amazing, thank you !

  • @CodeBlessYou

    @CodeBlessYou

    Ай бұрын

    ❤❤❤

  • @AmanKumarSinhaOfficial
    @AmanKumarSinhaOfficial3 ай бұрын

    I don't have words to say that you have done for react js community... This video is a masterpiece... Thanks a lot... Please bring some intermediate level projects using React js on this channel. 😊

  • @CodeBlessYou

    @CodeBlessYou

    3 ай бұрын

    Sure I will. You can check also my React JS course - www.udemy.com/course/the-ultimate-react-course-2023-w-real-world-projects/?referralCode=993CD544A6816303D3AD

  • @andrews13
    @andrews13 Жыл бұрын

    Subscribed your KZread channel . Nice tutorials!

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Thank you so much for your support. Really grateful for that😇❤❤

  • @user-if8nw7bk5m
    @user-if8nw7bk5m3 ай бұрын

    React Hooks made easy searching lot of videos on youtube this is only one master the React Hooks Thanks❤❤

  • @CodeBlessYou

    @CodeBlessYou

    3 ай бұрын

    Thank you so much. Grateful for your support❤❤❤

  • @kartik_charvi2412
    @kartik_charvi241211 ай бұрын

    Thank you soo much. One of the best bro😊

  • @CodeBlessYou

    @CodeBlessYou

    10 ай бұрын

    😇😇❤❤

  • @coderDas
    @coderDas8 ай бұрын

    Best and Super Video with all the Examples 🎉🎉🎉❤❤

  • @CodeBlessYou

    @CodeBlessYou

    8 ай бұрын

    Thank you so much for your feedback❤❤❤❤

  • @sanojcsam123
    @sanojcsam12325 күн бұрын

    Thank you!

  • @CodeBlessYou

    @CodeBlessYou

    24 күн бұрын

    ❤❤❤

  • @thuraiit
    @thuraiit Жыл бұрын

    Nice video and neatly explained.

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Thanks 😀

  • @gzoechi
    @gzoechi Жыл бұрын

    With useLadoutEffect, how can it read layout (getComputedStyle(), ...) from DOM before the DOM updates are rendered. This doesn't add up for me.

  • @imasunflowerlilfunny3353
    @imasunflowerlilfunny33539 ай бұрын

    bro, i am a beginner and i am amazed ! with tutorial, very easy to understand , thank you!

  • @CodeBlessYou

    @CodeBlessYou

    7 ай бұрын

    Thank you so much❤❤

  • @sathishsundar2855
    @sathishsundar285511 ай бұрын

    Great work, thanks a lot

  • @CodeBlessYou

    @CodeBlessYou

    11 ай бұрын

    ❤❤❤

  • @friendlyteach1465
    @friendlyteach14659 ай бұрын

    I this you deserved more views and subscribe. Keep it bro I this you will be success one day.❤❤❤

  • @CodeBlessYou

    @CodeBlessYou

    9 ай бұрын

    You are commenting this, thats success for me ❤❤❤

  • @o1techacademy
    @o1techacademy Жыл бұрын

    Thank you very much my teacher. You video is very helpful.

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Thank you for this comment❤ Grateful for this comment😇

  • @karthikeyasoft
    @karthikeyasoft Жыл бұрын

    your teaching style is very good and clean .. keep going on....

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Thank you so much for your support😇❤❤

  • @preethi.k6859
    @preethi.k6859 Жыл бұрын

    Best teaching atlast I learn abt this topics thank you

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Thank you so much for support. Really grateful for that❤️😇

  • @_rachid
    @_rachid Жыл бұрын

    Thank you that was helpful. If one understand how redux works he can understand useReducer easily.

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Agreed! Thanks for this comment😇❤

  • @Thisarusaduranga
    @Thisarusaduranga Жыл бұрын

    great tutorial ..👌

  • @keystiva
    @keystivaАй бұрын

    Better way to explanation ❤ great brother

  • @CodeBlessYou

    @CodeBlessYou

    Ай бұрын

    ❤❤❤

  • @valenciawalker6498
    @valenciawalker64986 ай бұрын

    Thank you!!

  • @CodeBlessYou

    @CodeBlessYou

    6 ай бұрын

    ❤❤❤

  • @niyonkurusylvain7666
    @niyonkurusylvain7666 Жыл бұрын

    Thank you for such a huge work, It is extremely clear explanations !!!!!!

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    My pleasure, Thanks for your comment😀

  • @parineetadas1366
    @parineetadas1366 Жыл бұрын

    great content🙌

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Grateful for your support😇❤

  • @pro-code_academy
    @pro-code_academy2 ай бұрын

    Bhai badhiya explanation tha..God Bless You🫡❤

  • @CodeBlessYou

    @CodeBlessYou

    2 ай бұрын

    ❤❤❤

  • @techieaman96
    @techieaman96 Жыл бұрын

    Thank you, One of the best videos I watched for react hooks. It would have been nice if you have shared all the code examples.

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    I will share that soon👍

  • @techieaman96

    @techieaman96

    Жыл бұрын

    @@CodeBlessYou thank you

  • @narendermudgal
    @narendermudgal9 ай бұрын

    This is the best tutorials on hook i think, what why where when everything is at place

  • @CodeBlessYou

    @CodeBlessYou

    9 ай бұрын

    ❤❤❤

  • @sureshdesai4486
    @sureshdesai44863 ай бұрын

    Thanks for such a useful content

  • @CodeBlessYou

    @CodeBlessYou

    3 ай бұрын

    ❤❤❤

  • @amargaming5126
    @amargaming5126Ай бұрын

    Nice i loved it 😊

  • @CodeBlessYou

    @CodeBlessYou

    Ай бұрын

    ❤❤❤

  • @muhammad_ilyas1
    @muhammad_ilyas17 күн бұрын

    The best React hooks' Video ever.

  • @CodeBlessYou

    @CodeBlessYou

    6 күн бұрын

    Thank you so much ❤❤❤

  • @manjunathr6902
    @manjunathr69027 ай бұрын

    Thank you

  • @CodeBlessYou

    @CodeBlessYou

    7 ай бұрын

    ❤❤

  • @pavansaibitla9008
    @pavansaibitla90086 ай бұрын

    great explaination

  • @CodeBlessYou

    @CodeBlessYou

    6 ай бұрын

    ❤❤❤

  • @N_n5566
    @N_n55662 ай бұрын

    very usefull.nice explanation

  • @CodeBlessYou

    @CodeBlessYou

    2 ай бұрын

    ❤❤

  • @eMeN903
    @eMeN903 Жыл бұрын

    Thank you for this tutorial

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Thanks for your Feedback😀

  • @CodeBlessYou
    @CodeBlessYou Жыл бұрын

    🤩Access the Full React Course - www.udemy.com/course/the-ultimate-react-course-2023-w-real-world-projects/?referralCode=993CD544A6816303D3AD 🚀Access REDUX Course:- www.udemy.com/course/the-ultimate-redux-course-state-management-library/?referralCode=0E6517D629498E1C48D7

  • @shayanfaisal19009
    @shayanfaisal190096 ай бұрын

    nice video very infomative

  • @CodeBlessYou

    @CodeBlessYou

    5 ай бұрын

    Glad you liked it😊

  • @sandeepkumar-nk9vk
    @sandeepkumar-nk9vk7 ай бұрын

    hi , i have a doubt on useLayoutEffect, before Dom printing how to take the ref element from the dom. Please explain that flow.

  • @CodeBlessYou

    @CodeBlessYou

    7 ай бұрын

    To obtain a reference to a DOM element before it gets printed or rendered, you can use the useLayoutEffect hook in a React component. Here's a step-by-step explanation of how to achieve this: Create a Functional Component: Create a functional component in which you want to obtain a reference to a DOM element. function MyComponent() { // Create a ref to store the DOM element reference const myElementRef = useRef(); // Define a function to capture the reference to the DOM element useLayoutEffect(() => { const element = myElementRef.current; if (element) { // Now, you can work with 'element' console.log('Reference to the DOM element:', element); // Perform any actions you need with the element here } }, []); return ( {/* Attach the ref to the DOM element you want to capture */} This is the DOM element. ); } Use useLayoutEffect: Inside the component, use the useLayoutEffect hook to capture the reference to the DOM element. The useLayoutEffect hook runs after the browser layout and before the paint, making it suitable for working with DOM elements. Attach the Ref to the DOM Element: Within your component's JSX, attach the ref to the specific DOM element you want to capture. In this example, we attached the myElementRef to a div element, but you can attach it to any DOM element as needed. Access and Use the DOM Element: Inside the useLayoutEffect, you can access the DOM element using the current property of the ref. Once you have the reference, you can perform any actions or operations you need with the element. In the example, we log the reference, but you can modify it according to your requirements. By following this approach, you can capture a reference to a DOM element and perform actions on it before it gets printed or rendered. This is particularly useful for tasks like obtaining the dimensions of an element, setting up event listeners, or manipulating the DOM before rendering.

  • @AjayYadav-vb7vd
    @AjayYadav-vb7vd5 ай бұрын

    14:39 issue in explanation useEffect document.title is taken only othercount then how can it take count while clicking increase count their is no need of dependency dependency is to be given if we take document.title = `count: ${count} & newCount: ${newCount}` if we want to change only on change of count then we need to give count as dependency

  • @dabhibrijesh6835
    @dabhibrijesh68358 күн бұрын

    content quality is very good.

  • @CodeBlessYou

    @CodeBlessYou

    7 күн бұрын

    ❤❤❤

  • @abidmulla2837
    @abidmulla28374 ай бұрын

    hey bro cool what a explainaion

  • @CodeBlessYou

    @CodeBlessYou

    4 ай бұрын

    Glad to hear that❤❤❤

  • @shahhussain56
    @shahhussain56 Жыл бұрын

    its extremely simple and crisp explanation bro. Thanks a million❤ I just need all the notes which you used in the video. Would you provide us?

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Actually, I am currently working on Complete Redux Course. That's why it will take some time. But I will provide as soon as possible. Sorry For Delay❤❤

  • @surajchaudhary1162

    @surajchaudhary1162

    Жыл бұрын

    @@CodeBlessYou eagerly waiting for the redux course. 🤗

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    It's already launched.. Hurry up Get this course *100% FREE* from here - www.udemy.com/course/the-ultimate-redux-course-state-management-library/?couponCode=07423F2A93D56EE560CE

  • @thulasiraman2296
    @thulasiraman2296 Жыл бұрын

    It Hooks Concept is very easy understand for your video watching so please continue with other new concepts except the Life cycle method and Redux concepts make video please, and Thank for this video😍

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    I have complete course on Redux you can check this out - www.udemy.com/course/the-ultimate-redux-course-state-management-library/?referralCode=0E6517D629498E1C48D7 Also one hour trail course is on KZread about redux ❤

  • @abrahamjaimes7643
    @abrahamjaimes764311 ай бұрын

    27:00 teacher when you use useEffect , you could set up dependencies [name] and the hook will re render only when name gets updated.

  • @CodeBlessYou

    @CodeBlessYou

    11 ай бұрын

    The goal of that example is to demonstrait infinite rerenders.

  • @abrahamjaimes7643

    @abrahamjaimes7643

    11 ай бұрын

    @@CodeBlessYou got it , teacher when are you going to complete all the hooks in videos ?

  • @CodeBlessYou

    @CodeBlessYou

    11 ай бұрын

    @@abrahamjaimes7643 Currently I am working on React Course and it is taking more time than i imagine. In that course I will add useful hooks❤❤

  • @brahmendranchary5852
    @brahmendranchary5852 Жыл бұрын

    very nice explanation

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Thank you so much for support❤❤

  • @pupil_1
    @pupil_1 Жыл бұрын

    Underrated video

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Thank you so much for your support😇❤❤

  • @priyanshunishad7402
    @priyanshunishad740211 ай бұрын

    you are underated man

  • @CodeBlessYou

    @CodeBlessYou

    11 ай бұрын

    I will get what I deserve. Don't worry chill❤❤❤😉😉

  • @wreshinlinux6091
    @wreshinlinux60915 ай бұрын

    one thing that i have notice is the reducer can put in folder called Reducer to make looks more organize, am i right? , . . im currently studying react hooks and your explanation makes me confident to use react hooks.

  • @CodeBlessYou

    @CodeBlessYou

    5 ай бұрын

    Absolutely Correct. You can organize reducer by seperating reducer function from component code. Glad for your comment :)

  • @user-yk3yt4vk9j
    @user-yk3yt4vk9j4 ай бұрын

    subscribed for the amazing content😍

  • @CodeBlessYou

    @CodeBlessYou

    4 ай бұрын

    Thank you so much. If you like this then You can Check my complete React JS course 2024 : www.udemy.com/course/the-ultimate-react-course-2023-w-real-world-projects/?referralCode=993CD544A6816303D3AD

  • @user-yk3yt4vk9j

    @user-yk3yt4vk9j

    4 ай бұрын

    @@CodeBlessYou oh boy it's quite expensive for me as living in Pak. But you have my all support on youtube. 🌺🌺

  • @CodeBlessYou

    @CodeBlessYou

    4 ай бұрын

    Thank you so much for your support brother@@user-yk3yt4vk9j ❤❤❤

  • @user-yk3yt4vk9j

    @user-yk3yt4vk9j

    4 ай бұрын

    @@CodeBlessYou when I watch your videos I don't skip adds. That's the only way I could support you now. But in future if someone ask me about sources from where I have learnt then I would definitely recommend him your channel.

  • @CodeBlessYou

    @CodeBlessYou

    4 ай бұрын

    @@user-yk3yt4vk9j It means a lot to me. I just want love, money will come if I am capable. Love you brother❤❤

  • @NEOCODE-ATLAST
    @NEOCODE-ATLAST6 ай бұрын

    00:00 🎓 React Hooks are functions that enable the use of state and lifecycle methods in functional components, making them work similarly to class components. 02:03 🪝 useState hook is used to add state to functional components. It returns an array with the current state value and a function to update that value. 03:25 🔄 Updating state with useState involves calling the function returned by the hook and passing the new value. Array destructuring can be used to simplify the code. 04:51 📥 useState can handle different types of data (boolean, number, text, object, array). It's demonstrated with examples of a counter and a text input. 06:03 🔄 When dealing with an object as state in useState, ensure to update the state properly to avoid losing other elements. Use the spread operator to include previous values. 08:58 🎭 useEffect is used for side effects in components, such as fetching data, manipulating the DOM, or using timers. It combines componentDidMount, componentDidUpdate, and componentWillUnmount. 11:27 📋 useEffect has three variations: without dependencies (runs on every change), with an empty array (runs once on mount), and with variables (runs on mount and when specified variables change). 15:22 🧹 Cleanup functions in useEffect are essential to handle scenarios where side effects need to be stopped or cleaned up, preventing performance issues. 18:34 🌐 useContext is used to manage global data in React, allowing components to access shared values without passing them through props. 23:10 📦 To use useContext, follow three steps: create the context, provide the context in the component hierarchy, and consume the context using the useContext hook. 25:42 🔍 useRef serves two main purposes: creating mutable variables without causing re-renders and accessing DOM elements directly. 28:17 🔄 Using useRef to count renders without causing re-renders, avoiding the infinite loop issue that might occur with useState. 28:56 🔄 Use useRef to access and manipulate DOM elements without re-rendering. The current property is used to interact with the element. 32:24 🔄 useReducer is a state management tool in React for managing complex states. It takes a reducer function and an initial state, returning an array with the current state and a dispatch function. 40:14 🌐 useLayoutEffect is similar to useEffect but runs before the DOM is painted. It's synchronous and commonly used for measuring and working with layout dimensions. 45:14 ⚡ useMemo is used for memoization in React, preventing expensive calculations on every render. It takes a callback function and a dependency array, returning a memoized value. 49:59 🤔 useCallback returns a memoized function, preventing function recreation on re-render. It has the same syntax as useMemo, with the difference that it returns a function. 55:22 🛠 Custom hooks are reusable functions in React, created for specific logic or use cases. They enhance code organization and maintainability, promoting the DRY (Don't Repeat Yourself) principle.

  • @CodeBlessYou

    @CodeBlessYou

    6 ай бұрын

    Incredible Work! Love it ❤❤❤

  • @tapuparida7802
    @tapuparida78025 ай бұрын

    Great

  • @CodeBlessYou

    @CodeBlessYou

    5 ай бұрын

    Thanks for watching❤

  • @mrfabulous3303
    @mrfabulous330311 ай бұрын

    Thanks

  • @CodeBlessYou

    @CodeBlessYou

    7 ай бұрын

    ❤❤

  • @92_satyamyadav48
    @92_satyamyadav485 ай бұрын

    Bro ur underrated, dont worry keep it up what's your name bro, Thank you for video, If you know, make nextjs video, i dont know if it has

  • @CodeBlessYou

    @CodeBlessYou

    5 ай бұрын

    My name is Meet Patel. Thank you so much for this comment❤❤❤

  • @kanishkasandaruwan9287
    @kanishkasandaruwan928719 күн бұрын

    27:07 is wrong...The state changes continuously due to not having the dependency array of UseEffect. It is not a problem of UseState.

  • @CodeBlessYou

    @CodeBlessYou

    18 күн бұрын

    I will check that

  • @sai7743
    @sai7743 Жыл бұрын

    Can you explain login authentication of jwt in reactjs

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Why not😀

  • @sacettinsahin7791
    @sacettinsahin7791 Жыл бұрын

    Hello, thanks to this video. Actually you use amazing VS Code templete. Could you share your templete's name?

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    I use AYU theme in VS code. These are my 5 BEST VS Code theme - kzread.info/dash/bejne/d3uVpZRspNDQmMY.html

  • @sacettinsahin7791

    @sacettinsahin7791

    Жыл бұрын

    @@CodeBlessYou Thank you to response, i subscribed and liked :)

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    @@sacettinsahin7791 Thank you so much for your support. Really grateful for that😇❤

  • @stephengrantsumadsad86
    @stephengrantsumadsad862 ай бұрын

    enteeeeeeeeeeeeeeeeeeekaaaaluuuk!

  • @nishanths3176
    @nishanths31762 ай бұрын

    Can i get the source code for each hooks

  • @CodeBlessYou

    @CodeBlessYou

    2 ай бұрын

    Sorry I forgot to take backup for each hook. Really really sorry

  • @CinematicClips-uz3mk
    @CinematicClips-uz3mkАй бұрын

    It looks like a 1 hour video but I bet you it will take up to 4 hours if you run all codes and take notes

  • @CodeBlessYou

    @CodeBlessYou

    Ай бұрын

    Yeah It can❤❤❤

  • @saikrishnamuntha62
    @saikrishnamuntha62 Жыл бұрын

    where is the cheatsheet of useeffect

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Sorry I forget To mention.. Check in Description

  • @shinchanshukla3938

    @shinchanshukla3938

    Жыл бұрын

    Saikrishna, Say thanks to CBY.

  • @abdulsamad74581
    @abdulsamad74581 Жыл бұрын

    This is brilliant explanation. But you are too fast before I can wrap my head around a concept u have already explained 3 more. Pls slow down, reduce Ur speed by half thank you.

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    Ok I will work on that. Thank for your feedback brother😇❤

  • @shrikush01
    @shrikush016 ай бұрын

    Take aa looook

  • @CodeBlessYou

    @CodeBlessYou

    6 ай бұрын

    😅😅😉

  • @andrews13
    @andrews13 Жыл бұрын

    Could you please share the source code too?

  • @CodeBlessYou

    @CodeBlessYou

    Жыл бұрын

    I will try to create one Github Repo but first I need to find this code🙂 (Sorry for that)

  • @andrews13

    @andrews13

    Жыл бұрын

    @@CodeBlessYou Thanks! Waiting for it :)

  • @vonnachoy306
    @vonnachoy3063 ай бұрын

    TOGEL

  • @vonnachoy306
    @vonnachoy3063 ай бұрын

    AND TAKE A LOOK!!!!!!

  • @CodeBlessYou

    @CodeBlessYou

    3 ай бұрын

    😅😅❤❤

  • @b_64anantsadawarte76
    @b_64anantsadawarte763 ай бұрын

    The best React hooks' course ever. Thanks a lot.

  • @CodeBlessYou

    @CodeBlessYou

    3 ай бұрын

    Thank you so much for this comment. Really grateful for that❤❤❤

Келесі