Adding Login Component to iNotebook | Complete React Course in Hindi #69

Поділитися
Вставка
  • Опубліковано 11 жов 2024

КОМЕНТАРІ • 227

  • @vitthal8177
    @vitthal8177 Рік тому +144

    18:45 important note might save your time
    The useHistory() hook has been deprecated and replaced by the useNavigate() hook in React v6.
    So your code will look like this:
    import {useNavigate} from 'react-router-dom';
    let navigate = useNavigate();
    if(json.success){
    localStorage.setItem('token' , json.authtoken);
    navigate("/");
    }

  • @aashish3664
    @aashish3664 3 роки тому +49

    In screencast settings,
    Reduce the font size a little and turn on "Only Keyboard Shortcuts".
    Also reduce the vertical offset a little.
    Rest is perfect!

  • @inzamam1320
    @inzamam1320 2 роки тому +20

    For useHistory() error.
    Import {useNavigate} from 'react-router-dom'
    Let navigate = useNavigate();
    navigate('/')

    • @0xhardy
      @0xhardy 2 роки тому

      Hey brother can i contact , i am having some problem in adding a note

    • @inzamam1320
      @inzamam1320 2 роки тому

      @@0xhardy yeah say what issue you are facing

    • @0xhardy
      @0xhardy 2 роки тому

      @@inzamam1320 whenever i add a note,
      Note is added in the database but i get error int he console for unique key

    • @inzamam1320
      @inzamam1320 2 роки тому

      @@0xhardy what are you passing as a key to the notesItem map function

    • @0xhardy
      @0xhardy 2 роки тому

      @@inzamam1320 key={note._id} in Noteitem component in Notes.js

  • @tehniatmirza1439
    @tehniatmirza1439 2 роки тому +4

    yes sucessfully completed Login functionality using useNavigate() hook instead of useHistory() hook. Thanks a lot Harry bhai. But user can still click on the Home link and view notes with or without login.

  • @kirtiiyer490
    @kirtiiyer490 3 роки тому +8

    After coming from tuition, this is the first thing to watch 😀🔥🤑

  • @omkarmhaske6987
    @omkarmhaske6987 3 роки тому +5

    Thankyou Harry sir apke wajese mein coding ka basic knowledge sikh paya

    • @kirtiiyer490
      @kirtiiyer490 3 роки тому +1

      Bhai, ye basic nahi hai 😂, this is quality knowlege

    • @omkarmhaske6987
      @omkarmhaske6987 3 роки тому

      @@kirtiiyer490 yes absolutely

  • @vipulchaudhary_js
    @vipulchaudhary_js 2 роки тому +9

    While changing class to className or doing any changes to anyword in whole project use the global search feature of vscode (on left side the search icon)

  • @shubhamraj7642
    @shubhamraj7642 3 роки тому +5

    I'm learning JavaScript from your playlist. I'm almost done, but having so much of confusion while writing code. Video me samjh aata hai, but fir bhool jaata hu. Requesting you to share your hand written notes like html and css. Would be grateful ever and ever. Thanks in advance

    • @anwarsalmani1380
      @anwarsalmani1380 3 роки тому +1

      Same prob bro

    • @Praxss
      @Praxss 3 роки тому

      Yah JS is confusing specially if you are coming from other language like python, java, c#, etc.
      Do more practice, it will feel more easy.
      Thats why JS is popular in fsd. All work is done by js. If you are using django(python) as backend and react as frontend then you need to make habit of 2 language which is horrible specially with js.

    • @vaibhavsumal
      @vaibhavsumal 2 роки тому

      @@Praxss Same problem, where to do practice any specific course ?? or any thing you can share with us.

    • @maliksuleman9474
      @maliksuleman9474 2 роки тому

      i would recommend you to watch javascript beginner to advance course by harshist vishashist. it will blow your mind and you will confident to write code in js

    • @Aditya_Kumar_12_pass
      @Aditya_Kumar_12_pass Рік тому +1

      if the code works, don't touch it. leave it. forget about it . you can't remember everything. But you will if you practice a lot

  • @sachinadk7412
    @sachinadk7412 2 місяці тому

    it's good to put screen cast as we can know short cut key for various functions of vs code what u type. yes it will be distrubing but can control yrr pasud or rewatch again but from gaining knowledge it is good to put❤

  • @nehalansari735
    @nehalansari735 3 роки тому +3

    Thank you Harry bhaiya for Everything ❤️

  • @codebridge07
    @codebridge07 3 роки тому +3

    Good evening sir,
    After this course, can you make a course of making a meeting app like google meet or ms teams

  • @ejazalikhan9324
    @ejazalikhan9324 3 роки тому +3

    For your channel i started coding....before that i hated coding.

  • @krishnamuraree2662
    @krishnamuraree2662 2 роки тому +2

    bhai this react course is really really and genuinely very much helpful for beginners like me :)

  • @sereneguy1804
    @sereneguy1804 Рік тому

    n screencast settings,
    Reduce the font size a little and turn on "Only Keyboard Shortcuts".
    Also reduce the vertical offset a little.
    Rest is perfect!

  • @TechnoNazmul
    @TechnoNazmul 3 роки тому +1

    Well you can keep the Screen Cast thing But make it a Bit Small since it takes a lot of space

  • @anshikaagrawal9973
    @anshikaagrawal9973 2 роки тому +2

    Who is watching this video now, Just wanted to inform that useHistory hook been replaced with useNavigate. So, I am using that.
    Also, wanted to say this tutorial is awesome.

  • @sumandixit6249
    @sumandixit6249 3 роки тому +1

    Nowww, addicted to your content!!😌😌😌😌😌😌

  • @tranquillife5822
    @tranquillife5822 Рік тому

    love your coding harry bhai

  • @kali4844
    @kali4844 3 роки тому +1

    Please make a video on python project for stock trading and analysis.🙏

  • @rehan314
    @rehan314 3 роки тому +1

    Harry bhai please make a video on cookies!

  • @shamunkhatri6754
    @shamunkhatri6754 11 місяців тому

    I like screencast things and i will be useful for newbies to know some shortcuts of vscode. just make it littlebit smaller and its fantastic

  • @tejaskumar4470
    @tejaskumar4470 3 роки тому +2

    Awesome 🔥🔥

  • @pratikharde793
    @pratikharde793 3 роки тому +2

    This course is awesome ❤😍❤😍❤😍❤

  • @niranjansarker7532
    @niranjansarker7532 2 роки тому

    Very Nice to learn. Making concept clear.

  • @hiphop861
    @hiphop861 Рік тому

    Thank you so much for making this wonderful courser

  • @khizrshaikh9902
    @khizrshaikh9902 3 роки тому

    5:22
    Bhai I'm really waiting for it after you uploaded VSCode Video

  • @davendrabedwal830
    @davendrabedwal830 2 роки тому +3

    useHistory replaced by useNavigate

  • @sumankundu459
    @sumankundu459 Рік тому

    very helpful playlist....thanks harry bhai

  • @vishalmankar4969
    @vishalmankar4969 2 роки тому +1

    Thanks @harrybhai

  • @sayyedmaroof5051
    @sayyedmaroof5051 3 роки тому

    harry bhai bcoz of u I am on the way to get a job

  • @carotshorts6467
    @carotshorts6467 3 роки тому

    yes screencast needed

  • @vedantmule6237
    @vedantmule6237 2 роки тому

    Yaa, it is better screen casting , just make font small if possible.

  • @niveshdave8519
    @niveshdave8519 3 роки тому +1

    Tutorial no. 69 🔥🔥🔥🌚 Nice

  • @rohitverma4449
    @rohitverma4449 Рік тому

    this react course is really really and genuinely very much helpful

    • @mohitbansal321
      @mohitbansal321 Рік тому

      hey are you able to login i am getting error in login

  • @tausifhossain8634
    @tausifhossain8634 2 роки тому

    Harry bhai the great take love from Bangladesh

  • @vaibhavsumal
    @vaibhavsumal 2 роки тому

    Harry bhai .!! Just decrease the fontsize, then its fine and helpfull!!

  • @iAmAshuSahoo
    @iAmAshuSahoo 2 роки тому

    bhai review kaa video bnaenge ... masst course hai ...better than any paid course

  • @QuantumApolloFly
    @QuantumApolloFly 3 роки тому +1

    How you make these excellent videos very fast.

  • @indian_shorts_2.040
    @indian_shorts_2.040 3 роки тому

    CodeWithHarry is geat deloper in youtube

  • @jitumandavi7881
    @jitumandavi7881 3 роки тому

    nice one Sirji

  • @udayan285
    @udayan285 2 роки тому

    Thanks

  • @sumanmishra9373
    @sumanmishra9373 3 роки тому

    Nice video Harry bhai

  • @muhammadaarizimam4890
    @muhammadaarizimam4890 3 роки тому

    Wah Harry bhai 🔥🔥🔥

  • @itsmytechnology9285
    @itsmytechnology9285 3 роки тому +2

    😊

  • @arpangoyal316
    @arpangoyal316 3 місяці тому

    Which Playlist should i follow Chai aur code or Code with harry????

    • @indroneelgoswami5654
      @indroneelgoswami5654 2 місяці тому

      CWH is outdated but I prefer CWH because if it's simplicity

  • @umairahmed9827
    @umairahmed9827 2 роки тому +1

    screencast OFF hi rehne dein, disturbance hoti ha....

  • @ojaselawadhi4425
    @ojaselawadhi4425 3 роки тому +1

    MySQL full course and git cheatsheet please 🙏🏻🥺

  • @chandershekharsaini1741
    @chandershekharsaini1741 3 роки тому

    keep it off bro

  • @vishnu08
    @vishnu08 3 роки тому +1

    Bro plz make how to make app with vscode 🙏🏻🙏🏻🙏🏻🙏🏻

  • @tsarprince
    @tsarprince 2 роки тому

    Things are getting extremely interesting!

    • @prakharsinha4145
      @prakharsinha4145 Рік тому

      Hey!... My Page is getting reloaded everytime I'm Submitting, how to fix this ?

    • @tsarprince
      @tsarprince Рік тому

      @@prakharsinha4145 missed the e.preventDefault() ?

    • @prakharsinha4145
      @prakharsinha4145 Рік тому

      @@tsarprince No man!

  • @atulsingh7647
    @atulsingh7647 Рік тому

    17:00

  • @vishal_kumarmaurya
    @vishal_kumarmaurya 3 роки тому

    Nice 👍

  • @Funny470
    @Funny470 3 роки тому

    Nice video

  • @rajatchaurasia3578
    @rajatchaurasia3578 3 роки тому +1

    Love from IIMT College , greater Noida Date:- 24-09-21 Road to full stack Web developer 😍❤️🔥🔥❤️❤️🔥🔥❤️🔥🔥❤️🔥❤️🔥❤️

  • @gettingbetter7165
    @gettingbetter7165 3 роки тому

    Harry Bhai😍

  • @AnkitPatel-qg1tz
    @AnkitPatel-qg1tz 3 роки тому

    3:16 - SaiiiiggaaannnnnUppp - Signup! You are VERY FUNNY Man. :)

  • @shortlife5861
    @shortlife5861 3 роки тому

    Please make videos on nextjs

  • @eranandyadav9720
    @eranandyadav9720 3 роки тому

    Please solve the problem
    The joined path (C:\fakepath\4.jpg) is located outside of the base path component (D:\Lawyer-Management\media)

  • @Aryan-qw8oq
    @Aryan-qw8oq 3 роки тому +1

    Bhai Screen Cast mode thik nahi hai

  • @Leo-056
    @Leo-056 2 роки тому

    Sometimes screen cast is ohk sometimes its not depends!!!

  • @pradeepgupta8507
    @pradeepgupta8507 2 роки тому +1

    It’s not good to have screen cast mode on

  • @ranakaleem9012
    @ranakaleem9012 3 роки тому +1

    there is no need of screencast mode....

  • @karanpadaliya2596
    @karanpadaliya2596 3 роки тому

    Php laravel par tutorial banado bhai please 🙏

  • @RohanDasRD
    @RohanDasRD 3 роки тому +1

    The magical number 🌚

    • @yogeshyts
      @yogeshyts 3 роки тому

      The POWERFULL number 🌚

    • @JenilGhevariya
      @JenilGhevariya 2 роки тому

      Powerful Numbers comes from Powerful places 🌚🌝

  • @shreyashpatil4173
    @shreyashpatil4173 3 роки тому

    hello harry bhai !!!

  • @solankiketul5640
    @solankiketul5640 2 роки тому +1

    Please off screen cast mode...

  • @anandshinde0358
    @anandshinde0358 2 роки тому +1

    Screencast mode off rakho

  • @abuzarzaidi8115
    @abuzarzaidi8115 3 роки тому

    why not we use .jsx extension for react file

  • @techprogramming3092
    @techprogramming3092 Рік тому +1

    Harry bahi please solve cors error
    Error is -cross-origin Request Blocked: The same policy disallows reading the remote resource at localhost:5000 , reason cors reqest did not succed

    • @rohitkoshta3457
      @rohitkoshta3457 Місяць тому

      watch old video where he has installed Cors

  • @mayankkholia
    @mayankkholia 3 роки тому

    ❤️

  • @rachitmaheshwari2129
    @rachitmaheshwari2129 2 роки тому +1

    How can I remove this Error:
    Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

    • @rutvij2811
      @rutvij2811 2 роки тому

      I think you have missed to add cors library in the backend. It is in one of the previous videos but I don't recall the number.

    • @technologytrends645
      @technologytrends645 2 роки тому

      npm install cors

  • @aryan7069_
    @aryan7069_ 3 роки тому

    0:20 hhahahahahahahahah😂😂😂

  • @anshsharma494
    @anshsharma494 3 роки тому +2

    It’s looking good to have screen cast mode on

  • @khizrshaikh9902
    @khizrshaikh9902 3 роки тому

    7:09
    Bhai I think you should use it and change size of that text to smaller in settings

  • @cnssanjay9691
    @cnssanjay9691 Рік тому

    do not use screencast
    bhaiya vese kuch naye bahane dhundho comments karvane ke

  • @7wordstechnical623
    @7wordstechnical623 2 роки тому +1

    import error: 'useHistory' is not exported from 'react-router-dom'.
    anybody help me

    • @suryanshbhatnagar2857
      @suryanshbhatnagar2857 2 роки тому +1

      Same problem

    • @ankushmaity2635
      @ankushmaity2635 2 роки тому +1

      same error

    • @suryanshbhatnagar2857
      @suryanshbhatnagar2857 2 роки тому +1

      @@ankushmaity2635 Bro In react-router-dom v6 useHistory() is replaced by useNavigate().So instead of useHistory() use useNavigate().

    • @inzamam1320
      @inzamam1320 2 роки тому +3

      Import {useNavigate} from 'react-router-dom'
      Let navigate = useNavigate();
      navigate('/')

    • @inzamam1320
      @inzamam1320 2 роки тому +1

      Did you complete this playlist ?

  • @shubh99269
    @shubh99269 2 роки тому +1

    If useHistory is not working instead u can use useNavigate

  • @Surajsingh-tt6hh
    @Surajsingh-tt6hh 3 роки тому

    Sir please tell us how to store files in mongodb

  • @mustanda7
    @mustanda7 Рік тому

    Harry bhai galtyan krte raha kro asay hi hamay achay se seekhne ko milta

  • @muhammadarsalan6898
    @muhammadarsalan6898 Рік тому

    its success true and giving auth-token but not move to note page when click on login submit plz help

  • @sangamchoudhary6977
    @sangamchoudhary6977 3 роки тому

    that subtitle thing causes too much distraction

  • @eranandyadav9720
    @eranandyadav9720 3 роки тому

    Any one plzz solve the error
    Please solve the problem
    The joined path (C:\fakepath\4.jpg) is located outside of the base path component (D:\Lawyer-Management\media)

  • @maliksuleman9474
    @maliksuleman9474 2 роки тому +1

    after submitting email and password with wrong passwords or email sever crashes. any solution to this
    causing this error Cannot set headers after they are sent to the client
    node:internal/errors:465
    ErrorCaptureStackTrace(err);

    • @mandeepsingh-ms
      @mandeepsingh-ms Рік тому

      Are your putting your coding in try catch block in backend ?

  • @Victor-ev3vu
    @Victor-ev3vu 3 роки тому +2

    *Vanilla JS in one video* pliz sir 🥺

  • @AmanKumar-eg5rc
    @AmanKumar-eg5rc 3 роки тому

    harry is very funny guy..

  • @gavneeshjain2939
    @gavneeshjain2939 2 роки тому

    Cant input email in the form what to do?

  • @kusumdevigairola6171
    @kusumdevigairola6171 3 роки тому +2

    Sir give me 💓

  • @omkarmhaske6987
    @omkarmhaske6987 3 роки тому

    First time I am not late in class

  • @rajanrajan2379
    @rajanrajan2379 Рік тому

    I can not access my login and signup page

  • @anwarsalmani1380
    @anwarsalmani1380 3 роки тому

    Give me a suggestion which language I learn now a days

    • @hargunbeersingh8918
      @hargunbeersingh8918 3 роки тому +1

      you cannot compare programming languages, so go with any popular language like JavaScript or Python, and prog langs dont even matter and it is the concepts which matter and not the programming language

    • @anwarsalmani1380
      @anwarsalmani1380 3 роки тому

      @@hargunbeersingh8918 bro I appreciate it but which one language scope is High in today scenerio

    • @anwarsalmani1380
      @anwarsalmani1380 3 роки тому

      @@Victor-ev3vu thanks pinki kumari but I learn the latest

    • @anwarsalmani1380
      @anwarsalmani1380 3 роки тому

      Which one is latest

    • @hargunbeersingh8918
      @hargunbeersingh8918 3 роки тому

      @@anwarsalmani1380 are u a beginner?

  • @Sumonms
    @Sumonms 3 роки тому

    Bhai where is your thumbnail!!

  • @arm_wrestling776
    @arm_wrestling776 3 роки тому +1

    Fast view sir

  • @codewithswarnodip1811
    @codewithswarnodip1811 3 роки тому +1

    1 heart please. I like your videos a lot. ❤️

  • @learnwitheshan1758
    @learnwitheshan1758 3 роки тому

    Hiii

  • @mandalaVibes10
    @mandalaVibes10 6 місяців тому

    Unable to attempt login

  • @ayushtiwari1504
    @ayushtiwari1504 3 роки тому

    My vote goes fo Screen Cast Mode.

  • @sailyjadhav1111
    @sailyjadhav1111 3 роки тому +7

    Hi Harry, screencast is disturbing. Please remove

  • @vipinchauhan2454
    @vipinchauhan2454 Рік тому

    harry bro very very fast impalement for beginner level its not good 4 a beginner level persons

  • @subhashisdey69
    @subhashisdey69 2 роки тому

    Can someone help me with the let history = useHistory part please. I am getting an error showing that it is not found in react-router-dom even though I have imported it

    • @sanjaypaul6651
      @sanjaypaul6651 2 роки тому +4

      Hello my friend, instead of 'useHistory' you can use 'useNavigate'
      -----------------------------------------------------------------------------------
      import { useNavigate } from 'react-router-dom';
      const navigate = useNavigate();
      navigate('/');
      ------------------------------------------------------------

    • @sandeshshelar7641
      @sandeshshelar7641 2 роки тому

      @@sanjaypaul6651 Thank You So Much Brother I also had same error . i was using useNavigate in wrong way you show me the correct syntax

  • @prakharsinha4145
    @prakharsinha4145 Рік тому

    Hey Guys!... My Page is getting reloaded everytime I'm Submitting, how to fix this ?

    • @GauravDLohar
      @GauravDLohar Рік тому

      first finf out which function causing it to reload then use preventDefault() to fix. may it help

    • @Nizawmyt
      @Nizawmyt Рік тому

      its beacuse you might be using handleSubmit on button instead of form tag