useEffect, useRef and useCallback with 1 project

Sdílet
Vložit
  • čas přidán 5. 09. 2024
  • Visit chaicode.com for all related materials, community help, source code etc.
    Sara code yaha milta h
    github.com/hit...
    Discord pe yaha paaye jaate h:
    ""/discord
    Instagram pe yaha paaye jaate h:
    / hiteshchoudharyofficial

Komentáře • 2,2K

  • @vikasmali9272
    @vikasmali9272 Před rokem +466

    This react series was amazing on the internet. I have watched more than two series on udemy but no one can explain all concepts like you.
    And you have made this series in hindi it is very helpful me to understand each and every concept deeply.
    This bonus is not enough for this awesome series but I will give you more support on upcoming videos.

    • @ramansworld3879
      @ramansworld3879 Před 7 měsíci +15

      True even i purchasded a course, but total waste of money....Nothing can beat this great series

    • @talhakhan4684
      @talhakhan4684 Před 2 měsíci +3

      I don't see the point of using useCallback in this project because the only "things" which can cause re-renders are already passed as dependencies to useCallback which means passwordGenerator function is recreated on every re-render anyway and is never memoized between re-renders because nothing outside of the passed dependencies cause renders

    • @Sharath_Codm
      @Sharath_Codm Před měsícem +1

      @@talhakhan4684 every time the component re-renders (which can happen for many reasons, such as state changes), a new instance of the passwordGenerator function is created. This can lead to performance issues, especially if the function is passed as a prop to child components, causing them to unnecessarily re-render.

    • @Shopping7yt
      @Shopping7yt Před 4 dny

      sir harbar optimize - optimize bolte hai uska matlab kya hota hai explain me plz???

  • @sum1t_here
    @sum1t_here Před 9 měsíci +83

    0:00 - 5:29 - introduction
    5:45 - project setup
    9:53 - start
    9:47 - use of useState hook
    14:15 - generating password (useCallback hook : Memoization)
    24:15 - designing ui
    32:19 - explaining check mark at radio button
    33:28 - calling of password generator function
    36:11 - use of useEffect hook
    42:31 - copy button using useRef
    50:27 - copying a range from password field
    52:23 - summary

    • @_sarthakmisal
      @_sarthakmisal Před 7 měsíci +2

      POV: You got a placement from Hitesh Bhai

    • @malihayat8609
      @malihayat8609 Před 7 měsíci +1

      Thank You!

    • @gopalkalawate5453
      @gopalkalawate5453 Před 6 měsíci +1

      Thanks a lot

    • @talhakhan4684
      @talhakhan4684 Před 2 měsíci

      I don't see the point of using useCallback in this project because the only "things" which can cause re-renders are already passed as dependencies to useCallback which means passwordGenerator function is recreated on every re-render anyway and is never memoized between re-renders because nothing outside of the passed dependencies cause renders

    • @maketa_yo
      @maketa_yo Před 3 dny

      mera text-color se color change nhi ho rha h
      kaise thik karu

  • @yourallfevorite953
    @yourallfevorite953 Před 3 měsíci +25

    kya sir basic basic bol ke itna bara project bnwa diye 2 3 bar video dekhna pra lekin samajh me aa gya thanku

    • @abr5744
      @abr5744 Před měsícem

      how is your progress in one month and any tips on how to optimize my learning through this playlist

    • @u2112
      @u2112 Před měsícem

      ​@@abr5744 first learn basics and then follow this , it'll be like cherry on top

    • @mdaffan.pc0
      @mdaffan.pc0 Před 12 dny

      @@abr5744 Make projects with vanilla javascript on your OWN before learning react.
      Take help of internet and chatGPT

  • @muhammadjamshed2823
    @muhammadjamshed2823 Před měsícem +2

    Sir ik chez maine note ki hai. Ap humare brain mai andr ja k scrow open kr k chezain dal lety ho. Really amazing lecture. I revised this lecture 3 times and i was wondering k apne kitna best tariky sy kia. mai pehly 1 mint ki video dekh k seekhta ta aur ab 57 mint ki video mai apke liye duaye dil sy nikal jati hai. Love you sir and I always sharing on linkedIn your content. Thank you really thank you.

  • @namannema3349
    @namannema3349 Před 5 měsíci +40

    watching 2nd time got more clear to the concepts sir ji
    1. use Callback: used for optimization it calls the function inside it when the dependencies are changed and returns a memorized function
    2.useeffect: runs the function inside it whenever the page renders first-time or dependencies are changed
    3.use ref : used to give reference of selected components in our page so that functions can be performed on referenced values
    💙💙💙💙💙

    • @talhakhan4684
      @talhakhan4684 Před 2 měsíci

      I don't see the point of using useCallback in this project because the only "things" which can cause re-renders are already passed as dependencies to useCallback which means passwordGenerator function is recreated on every re-render anyway and is never memoized between re-renders because nothing outside of the passed dependencies cause renders

    • @abr5744
      @abr5744 Před měsícem

      how is your progress and any tips on how to optimize my learning through this playlist

    • @namannema3349
      @namannema3349 Před měsícem

      @@abr5744 my experience is good my only advice is to make some good projects and learn through it

    • @gauravshishodia4237
      @gauravshishodia4237 Před 14 dny

      I have seen many time this video I like it you are amazing sir thanks for making this video

  • @believer_rajdevyadav
    @believer_rajdevyadav Před rokem +146

    Sir,, My Humble Request is to Provide Us NON-STOP A Series Of Playlists 🙏🙏🙏🙏
    One Playlist For ReactJS
    One Playlist For NodeJS
    One Playlist For ExpressJS
    One Playlist For MongoDB
    One Playlist For MERN Projects
    One Playlist For MERN Interviews Questions
    I wish, you gain 1M subscribers before ending of 2025 💪❤

    • @contentbrother360
      @contentbrother360 Před 8 měsíci +2

      This is My request

    • @RedSpade01
      @RedSpade01 Před 8 měsíci

      put a copywrite quick🤣🤣@@contentbrother360

    • @user-jq4mg7xe3j
      @user-jq4mg7xe3j Před 8 měsíci +1

      so jaa bhai 1M Green Tea,

    • @believer_rajdevyadav
      @believer_rajdevyadav Před 8 měsíci +3

      @@user-jq4mg7xe3j bhai, abhi jaga just now 😁 😇 4 months purana comment hai aur jis level ki teaching and explaining skills hain sir ki vo 1M kya 10M deserve krte hain but uno ne multiple courses ke wajah se consistency ke sath compromise kr diye nhi toh hota at least 500k, because 4 months ago, that point of time there was a lot of hiring announcement by companies.
      but kuch bhi ho , jaldi se 1M ka tag lagwa dete hai bol bol kr ke 🤪😇

    • @utkarshsingh7232
      @utkarshsingh7232 Před 6 měsíci +1

      Yes sir please, it is the most awaited playlist of playlists

  • @Singhoustic
    @Singhoustic Před 10 měsíci +17

    Aajtak kisi ko nahi dekha jo itni depth mein samjhata ho...
    commendable 🌸🌸

  • @tusharmalhotra5034
    @tusharmalhotra5034 Před rokem +16

    I'm really impressed with the way React JS topics are being taught in such an innovative and engaging manner. Instead of just delving into the technical aspects, you take us on a journey of exploration and hands-on learning. You found a way to make complex concepts seem approachable and exciting for us. Thanks for sharing!

  • @harshgoyal4050
    @harshgoyal4050 Před 19 dny +2

    This video alone took me 6 hours to complete I always like to understand evrything my biggest concern was why should we cannot use useEffect instead of useCallback but after searching and some trials and errors i know now the difference perfectly.

  • @ganeshnimbare1905
    @ganeshnimbare1905 Před 7 měsíci +4

    One of your greatest strengths as a teacher is your exceptional communication skills. You have a remarkable ability to convey complex ideas in a clear and understandable way, making the learning process enjoyable and effective. thank you😊

  • @jayrai18
    @jayrai18 Před rokem +19

    31:15 Hats off! To you sirji, you are making superb level of content on CZcams. and after hearing from you that this video is made at night after completing your all-day work, my respect for you goes beyond the sky.

  • @hrithikrudra4292
    @hrithikrudra4292 Před rokem +6

    Humble request to continue the series daily,bhaiya..Your explanation is awesome..!

  • @tanoypaul
    @tanoypaul Před 9 měsíci +4

    No words left to say thanks sir. Just can say , you are the most right educator I've ever found. May Krishna bless you and keep you happy forever 💙

  • @HassaanUddin7
    @HassaanUddin7 Před 5 dny +1

    There is a small mistake in picking a random character from the 'str' variable. And that is in this line 'let char = Math.floor(Math.random() * str.length + 1)'. The mistake is that the random method gives us a value from 0 to 1(exclusive) so that means we have a number from 0 to str.length(exclusive), so the last valid index in 'str' is str.length - 1, but when we add 1 to it, the index goes beyond the valid range and that's why sometimes when generate the password, it is one less than the length range. So simply remove the addition of one so that it works as expected like this let char = Math.floor(Math.random() * str.length).
    Hope this helps.

    • @tanmaykaushik5844
      @tanmaykaushik5844 Před dnem +1

      Yes, i was thinking the same. That +1 will take it to next range, eg. 56 length *.99999 will still result in 55.something and doing +1 and flooring it will give 56, but range is 0 to 55 not 1 to 56 as array are 0 indexed. So anyways we need the upper limit -1 of the length.

  • @suhanisingh8189
    @suhanisingh8189 Před 11 měsíci +21

    Your react series is awesome Hitesh Sir. Please come up with more videos which include in-depth concepts and interview questions!❤❤

  • @jatinkhatri9650
    @jatinkhatri9650 Před rokem +55

    I think we should not include setPassword in the useCallback dependency array, because when this functional component rerenders, the reference of the setPassword function would be different from the setPassword function on previous rerender. So this would again create the function. This would totally defy the reason why we are using useCallback as the function would again be created on every rerender.

    • @chaiaurcode
      @chaiaurcode  Před rokem +44

      You are correct

    • @sayandutta2038
      @sayandutta2038 Před 11 měsíci +11

      @@chaiaurcode
      In React, the setState function retains its reference between renders, and the reference to it does not change unless the component unmounts.
      This behavior is consistent within the same component instance during its lifecycle. As long as the component is mounted and not unmounted, the reference to setState remains the same throughout rendering and re-rendering cycles.
      render, re-render is different from mounting and unmounting, right ?
      So, it should get retained in memory. And what you did was correct I guess, setPassword does not change ever, so mentioning it within the dependency array doesn't affect the memoization of the function at all, it is all the other dependencies that have a direct relationship with memoization.
      When includeCharacter and includeNumbers are toggled a new function body gets returned by useCallback. And only then the useEffect gets triggered.
      Please correct me, if I'm wrong. And do pin this comment so that it gets more attention.

    • @aakashyadav6228
      @aakashyadav6228 Před 9 měsíci +2

      @@chaiaurcode No Hitesh, you are wrong. According to react docs, React guarantees that setState function identity is stable and won't change on re-renders. This is why it's safe to omit these functions from the useEffect or useCallback dependency list.

    • @aakashyadav6228
      @aakashyadav6228 Před 9 měsíci +2

      @@sayandutta2038 You are correct brother. Your comment should be pinned. This was something, which hitesh was not able to explain correctly.

    • @niteshmodi5468
      @niteshmodi5468 Před 7 měsíci

      @@sayandutta2038 Actually I think that useEffect triggers first, and when it calls passwordGenerator, then here memoization and all is taken into consideration.
      Since useEffect is also executed when length, numberallowed, charallowed changes. These are same dependencies associated with useCallback(). So passwordGenerator will create a new function..
      Actually, he just wanted to explain useCallback(), that's why he has used it here. Because everytime the passwordGenerator is called a new function is created.
      I may be wrong.

  • @FLiCK5
    @FLiCK5 Před 11 měsíci +9

    51:00 if anyone have problem in line no. 34 --->
    in line 34 we are copying the whole password to the clipboard, because even if we give the selectionrange to (0,3)or(0,20) because that doesn't affect the writeText method , we are giving the whole password here.
    for this --> you can use string.splice() or string.substring() method to take the desired value

  • @gautamsadhwani6920
    @gautamsadhwani6920 Před 2 dny

    Explained deeply, understood the concepts. Commendable job sir.

  • @ALIhasan-pz1xl
    @ALIhasan-pz1xl Před 6 měsíci +1

    sir apky 2024 k last tak 1 million+ subscriber ho jayen gy ku k apka quality content bht he zabrdast hai love from pakistan

  • @ahsanaleem7295
    @ahsanaleem7295 Před rokem +6

    Your videos are great, very indepth concepts. Thank you for such organic content you are sharing with us.... I am from Pakistan btw. Enjoying your videos, getting deeper concepts of JavaScript ❤

  • @sutharjay1
    @sutharjay1 Před 7 měsíci +3

    In my version i have added copy copied feature where if user has copied the pwd so it will show colied but if user changes the length and number or character I will copy text again
    Learning with Hitesh Sir ❤❤❤

  • @himanshu_________
    @himanshu_________ Před rokem +37

    Chai aur code me apka swagat hai !

  • @user-ys8sl8dc8l
    @user-ys8sl8dc8l Před 16 dny

    guys i have watched this lecture witha a gap of 20 mins in first time some things were going just above the head but in 2nd time... things got crystal clear..

  • @pranaypaul6361
    @pranaypaul6361 Před 4 měsíci

    The entire 57.14-minute video encapsulated a valuable lesson that would otherwise have required much more time for corresponding theory and practical analysis. Kudos to Hitesh sir for his meticulous and insightful approach to basic building block analysis.

  • @anuragsharma5955
    @anuragsharma5955 Před 11 měsíci +4

    This series will blow up ...the way you teach every concept is just amazing...you just dont teach us you help us to gain confidence in what we learnt here and implement the same....All this is for free thanks a lot Sir

  • @YashPundhirSJ
    @YashPundhirSJ Před rokem +7

    38:19 in line 19 of the code, in each iteration of the loop, you are storing the randomly selected character from the str string to pass variable and then in next iteration you are overwriting that value.
    but instead, you should be appending the randomly selected character from the str string so the pass variable should hold all the random characters.

    • @sohiltr2310
      @sohiltr2310 Před 5 měsíci

      Yes thats what i am thinking too

  • @stapleworld
    @stapleworld Před 2 měsíci +36

    IS there anyone who is looking twice this vdo ?? or Iam I only one?

    • @tarunpanwar6983
      @tarunpanwar6983 Před 2 měsíci +4

      I'm looking this video in 10th time but still I'm not able to understand I think I should watch another channel

    • @AmanSingh-qu9vo
      @AmanSingh-qu9vo Před 2 měsíci

      @@tarunpanwar6983 i also looking for another channel
      brother

    • @SKNagar
      @SKNagar Před 2 měsíci +4

      lol I also didn’t get it in the first go
      I watched other videos from CZcams of these hooks mentioned in this video and then came back to this video
      Now it’s understandable

    • @demigod_070
      @demigod_070 Před 2 měsíci

      Yes

    • @dumptruck3354
      @dumptruck3354 Před měsícem

      @@tarunpanwar6983 same with me man guess i have to watch other videos

  • @Spider-Man_67
    @Spider-Man_67 Před 3 měsíci +2

    Thanks a lot sir, itne sare hooks ko itne ache se explain karne ke liye.

  • @sumitchavan3172
    @sumitchavan3172 Před 8 měsíci +2

    i was creating projects without major tutorial and in little logic i was getting stuck this helpd me alot to understand this basics hooks

  • @user-sq4uw7ch5c
    @user-sq4uw7ch5c Před 3 měsíci

    I'm really impressed with the way React JS topics are being taught in such an innovative and engaging manner. Instead of just delving into the technical aspects, you take us on a journey of exploration and hands-on learning. You found a way to make complex concepts seem approachable and exciting for us. Thanks for sharing!

  • @armo992
    @armo992 Před 9 měsíci +4

    Hi Hitesh!
    For the numbersAllowed checkbox setNumbersAllowed(!numbersAllowed) should also work right?
    Had this doubt since setNumbersAllowed only needs to be called once. In the interview questions it was a problem of async setState fn not considering the previous value returned by setState fn itself.
    Thanks!

  • @shubhamyadav3272
    @shubhamyadav3272 Před 6 měsíci +4

    Difference between UseEffect and useCallback dependencies
    1.useEffect dependencies are used to call function again whenever any changes are found in dependencies
    2.useCallback dependencies are used to memoize function again whenever any changes are found in dependencies

  • @mohitrajwar970
    @mohitrajwar970 Před 26 dny

    !!!!Thank you so much sir aapki knowledge free me share karne k liye jaise aap pada rahe ho jo is field ka nahi hoga wo bhi sab samajh jayega thank thank you sir ye mere liye bahut bahut jyada helpful h

  • @PraveenKumar-24
    @PraveenKumar-24 Před 6 měsíci +1

    Namaste Guruji...
    this is the type of learning experience, that will develope your ability to understand what actually we are doing with features available in any libraries.
    your experience as a teacher helps us a lot , as you know from your experience what are the ways to teach students.
    we need this kind of patience and dedication in all the teaching community.

  • @kidsschool5721
    @kidsschool5721 Před 7 měsíci +1

    hitesh bhai - dont ask for the comment and likes-- aapka content aisa hai ki aapki expectation se zyada support milega ,
    i love your content

  • @user-rp1ou6tq7x
    @user-rp1ou6tq7x Před 2 měsíci

    I have seen many videos of hooks but could not understand them as much as I could from your video. Thank you much sir!

  • @saudjavaid566
    @saudjavaid566 Před měsícem +1

    i watched this video two times today and now i am attempting my third attemp pray for me

  • @nothing_impossible591
    @nothing_impossible591 Před měsícem

    Nice explanation of hooks. By making project its clear the ambiguities. Thanks sir

  • @eklavyanath17204
    @eklavyanath17204 Před 13 dny

    very nice explaination better than any paid course
    thank you so much sir

  • @Sauravkum_02
    @Sauravkum_02 Před 4 měsíci

    Your teaching style amazing jitna bhi dekho kuchh new learn and concepts revised hota hi hota hai , thank You Sir❤❤❤

  • @AishaAkram-jt7fy
    @AishaAkram-jt7fy Před měsícem

    Mazaa a gaya the way you teach us each and every way to write a clean and optimized code. Love and alot of from Pakistan.Kudos to you . One of the best react course

  • @nikhilkumarjamwal5322
    @nikhilkumarjamwal5322 Před 28 dny

    came for one hook, learnt all the hooks from this video. 🔥🔥🔥

  • @spike_with_Jerry
    @spike_with_Jerry Před 4 měsíci

    Literally there is no other playlist on CZcams that teachs you react in so depth . Just Awesome...

  • @Waleedkhan-zh8hm
    @Waleedkhan-zh8hm Před 2 měsíci

    Bahut achay se smjhaya sir ne, bahut bahut Shukriya Hitesh Sir apki efforts ko slam

  • @sainaid
    @sainaid Před 3 měsíci

    one of the best series on youtube, sir your way of explaining concepts through projects is top-notch

  • @vimalradadiya5929
    @vimalradadiya5929 Před 7 měsíci +1

    Thank you sir 🙏for this amazing content on youtube because I rewatched this video to learn the basics of hooks

  • @ashishkumar-jo7cj
    @ashishkumar-jo7cj Před 3 měsíci

    40:40 sabse important point yahaan se start hota hai dono hook useCallBack and useEffect bhale hi same ho lekin dono ki functioning me difference hai
    1. useCallback hook mainly uski dependencies ke memoisation ke liye responsible hai mainly ye methods ke refrence ko apni memory me cache krke rakhta hai taaki component rerender hone par kahi method ka refrence change na ho jae or wo ek new method ki tarah hi treat ho warna uspar depend baaki component bhi fhir se rerender honge kyuki method ka refrence (means address in the memory) change ho gya hai
    2. Wahi useEffect sirf apni dependencies ke behalf par us callback function ko run karwaata agar dependencies change hui to wo useEffect ka callback bhi run hoga jisse uske ander hue task jaise yahan passwordGenerator function ko call krwaana wo invoke ho jaega. Thnk u so much sir ye sab clear krne ke liye.

  • @heyMonikaa
    @heyMonikaa Před 4 měsíci

    What a wow series I can't thank you enough for this series, you're literally the god for all of us developers really love your work

  • @indpriderdx5174
    @indpriderdx5174 Před měsícem

    kuch bol hi nahi sakta , apki teaching ke bare main , wow, too good , felling samjo bas,.....! nice thank You>>>>!

  • @RoamingRoutes-u9d
    @RoamingRoutes-u9d Před měsícem

    I think this is the best React Library series till date . Thank you Sir....

  • @saadkashif880
    @saadkashif880 Před 7 měsíci

    One of the Best teacher in youtube in my opinion i watch alot of coding related channels but the way he teach its just like awesome Hats off to you sir

  • @RituKumari-jl1re
    @RituKumari-jl1re Před 2 měsíci

    Amazing React series. Hitesh sir your teaching is awesome. Best series on CZcams.

  • @AtifAslam-f7z
    @AtifAslam-f7z Před 24 dny

    Thank you for the great explanation! Your videos are super helpful and easy to follow. Keep up the awesome work! 🙌

  • @MayankKumar-rc2dp
    @MayankKumar-rc2dp Před 2 měsíci

    Legendary way to approach react hands off 👍👍

  • @RoyHimadri1605
    @RoyHimadri1605 Před 8 dny

    Thanks for the video sir. Well explained the use of useCallback hook.

  • @akashagrawal3778
    @akashagrawal3778 Před 2 měsíci

    sir your way of teaching is best, thankyou so much for your efforts😇😇

  • @vatslalit1408
    @vatslalit1408 Před 2 měsíci

    Yes sir mazza bhi bht aaya hai or sikha bhi bht kuch hai is video me .....Thank you.....

  • @faizakashaf805
    @faizakashaf805 Před 2 měsíci

    outstanding video ,bht sahi wali clarification hogye sir apki wjah sa hooks ki

  • @adamyasharma_0135
    @adamyasharma_0135 Před 6 měsíci

    such an important lecture ,it is so good to understand the need,working and application of hooks ,Thanks alot Hitesh Sir,the best

  • @muhammadjamshed2823
    @muhammadjamshed2823 Před měsícem

    One thing more. meri react mai job ho gai. as a frontend developer. Iske liye maine sirf apka content perha. Love you sir

  • @magisterialmessi7981
    @magisterialmessi7981 Před 14 dny

    People don't know the importance of these series on chai aur code ❤️ we appreciate you hitesh bhai

  • @jaiminmakwana9535
    @jaiminmakwana9535 Před 6 měsíci

    you proved sir , "" never judge a project by its look "" , excellent job sir... 💯💯💯💯

  • @maullikakbari8200
    @maullikakbari8200 Před 2 měsíci

    greatest in teaching field Mr Hitesh choudhry. Thank you sir for all knowledge.

  • @BhuvneshSharma-q2l
    @BhuvneshSharma-q2l Před 2 měsíci

    best video and the best playlist if anyone deeply want to learn concepts

  • @VikashKumar-gm6ym
    @VikashKumar-gm6ym Před 4 měsíci +1

    VERY EXCITED FOR THIS JOURNEY SIR

  • @akashtiwari78059
    @akashtiwari78059 Před 12 dny +1

    Sir you are awesome and too calm

  • @Zareena_Iqbal
    @Zareena_Iqbal Před 6 měsíci +1

    This react series was amazing on the internet

  • @Floki_07i
    @Floki_07i Před 18 dny

    U have made React Js more interesting for me thank u!

  • @usmankhan3216
    @usmankhan3216 Před měsícem

    thank you so much sir ....mujhe ab samajh mainn araha hai react isrf a ki videos ki wajah sy....🥰

  • @Vikas_Kumar_SE
    @Vikas_Kumar_SE Před 7 měsíci

    I love all the courses of your's, the way of teaching is outstanding, no one go soooo deep into the concept. I hope more such videos will come for us.

  • @Hamza-um5uz
    @Hamza-um5uz Před dnem

    thanks for such interactive and understanding series.

  • @tejastoxic
    @tejastoxic Před 3 měsíci +1

    grandmaster of technology shri hitesh sir 🤗

  • @ayushwalker9083
    @ayushwalker9083 Před měsícem

    It would be a shame not to leave a comment on this video before moving on to another lecture in the series. Kudos to you, sir-you're truly exceptional! 🔥🔥🔥

  • @nikhitazulka9693
    @nikhitazulka9693 Před 8 měsíci

    Thank you so much for explaining these hooks in such an easy and interactive manner..!! Kudos to you for what you are doing for the community! 🙏

  • @VishalChauhan-mu8ju
    @VishalChauhan-mu8ju Před 2 měsíci

    I sat down to watch this video without much interest, but by the time it reached 5:40, I became curious listening to the sir .
    His ability to captivate and engage with the viewer || student is absolutely remarkable ; 👍🏻🦁

  • @shubh1230
    @shubh1230 Před 3 měsíci

    God level teaching........worth every effort with you sir

  • @im_riyaj
    @im_riyaj Před 5 měsíci

    was following english channel then found out this playlist and started learning in hindi...apni bhasa mein achhese samaj ata hein..😄

  • @codemonkey10
    @codemonkey10 Před měsícem

    The most under rated youtube channel
    For Real sir
    Love from Pakistan

  • @dev-SSB
    @dev-SSB Před 15 dny

    🔥 Nicely Explained about why use hooks 🔥

  • @JoyBoy_013
    @JoyBoy_013 Před 6 měsíci +1

    This man deserves millions of subscribers

  • @suyashshekhar3247
    @suyashshekhar3247 Před 6 měsíci

    Thankyou very much sir for this video and for providing in depth knowledge of how to use useEffect, useRef, useCallback and where to use.❤❤❤

  • @mukeshutmani
    @mukeshutmani Před měsícem +2

    40:00
    because of useCallback hook .. when we add a password variable in dependency array in useCallback, so it call setpassword... then password has to change then again setpassword called itself so it is continuesly calling again and again ..

  • @PemaFactsOfficial7
    @PemaFactsOfficial7 Před 4 měsíci +1

    callback is for optimization(caching the dependencies) and useEffect call function when there is any change in dependencies

  • @sonamjha4540
    @sonamjha4540 Před 5 měsíci

    To the point Explanation!! Just loving it. Thank you so much for such a clear and greatcontent.

  • @amirzulfiqar3922
    @amirzulfiqar3922 Před měsícem

    We Wish You Will Be Success Here And Here After Also.
    You Help Us To Grow Up Over Skills.
    Thanks Dear Sir Hitesh Chaudary

  • @ayushsaxena239
    @ayushsaxena239 Před 26 dny

    Password generator is not a easy project but after watching this video I understand all the hooks and concepts which is used in this project and most important thing how You optimize your project i got it.

  • @DineshMandloi-p8j
    @DineshMandloi-p8j Před měsícem

    Thanks for all the hard work you put into these videos. Keep it up! 💪

  • @farmanali4746
    @farmanali4746 Před 5 měsíci

    Great Job sir I realy appreciate you i gain alot of knowledge from your vedios no paid cours can teach us like you can go in the depth of the code and explain very easily with best examples

  • @AbdulHaseeb-lf5to
    @AbdulHaseeb-lf5to Před měsícem

    It's going to very amazing sir and now I am going to start it.......

  • @syedammarali108
    @syedammarali108 Před 8 měsíci

    10:33
    To keep track of length we need an input of type range and a value attribute in which we have to pass state variable length, and then we have to make a function to calculate length and do other stuff then we have to pass that function to
    onChange={funcName} attribute of the input.

  • @guptasagar694
    @guptasagar694 Před 7 měsíci

    Hitesh Sir, Just wanted to say that You explained all the Concepts and behind the hook intricacies very well...Kudos to you..Hatts Off

  • @yrama4714
    @yrama4714 Před 4 měsíci +1

    most special teacher

  • @jyotdelvadiya0706
    @jyotdelvadiya0706 Před 2 měsíci +1

    passwordRef.current?.setSelectionRange(0, 3)
    using this line of code, We can only make a change in UI it means 3 Selected character will be shown BUT it DOESN'T means that 3 characters are copied to clipboard, Actually whole Text(Password) will be copy to the clipboard.
    This is what i find during tutorial...
    Anyways a Great series Hitesh Sir, Never seen any video in this much depth on youtube. Hatsoff to you sir for a great efforts. This really means a lot!!

  • @somnathpaul5817
    @somnathpaul5817 Před 6 měsíci +1

    As a begginer mujhe thora sa zyada laga ye video..course bohot acha hay..matlab agar chizo ko individually thora thora karke samajhaya hota to acha hota ..ny the way its jst my opinion...

    • @gamerschoice779
      @gamerschoice779 Před 6 měsíci

      is video ko dekhte dekhte khud try karo or video bar bar dekho 2-3 din me samajh aajaega

  • @AishaAkram-jt7fy
    @AishaAkram-jt7fy Před 4 měsíci

    Thanks, sir for having such an amazing approach to making complex things simple and teaching us every concept while gaining hands on experience and projects.

  • @nikutigers9241
    @nikutigers9241 Před 21 dnem

    i like way of teaching and depth of the concept easy way.Sir Try Create Series for MERN Stack interview question and solution .

  • @raghavendrac4710
    @raghavendrac4710 Před 5 měsíci

    Amazing video sir, no paid course comes even close to the quality of your videos.

  • @NM-iw4nf
    @NM-iw4nf Před 7 měsíci

    The way you teach is fantastic with great deep knowledge explaining

  • @sumitram4132
    @sumitram4132 Před 8 měsíci

    Great explanation ❤ Lagta hai ki senior dev banakyaei choroge😂

  • @NikhilTiwari-qn5mi
    @NikhilTiwari-qn5mi Před 3 dny

    Thank you sir very much for this amazing course for free