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

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

КОМЕНТАРІ • 229

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

    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 роки тому +51

    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!

  • @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.

  • @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

  • @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

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

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

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

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

  • @vipulchaudhary_js
    @vipulchaudhary_js 3 роки тому +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)

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

    Thank you Harry bhaiya for Everything ❤️

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

  • @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!!😌😌😌😌😌😌

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

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

  • @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 4 місяці тому

    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❤

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

    This course is awesome ❤😍❤😍❤😍❤

  • @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

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

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

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

    Awesome 🔥🔥

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

    Very Nice to learn. Making concept clear.

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

    love your coding harry bhai

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

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

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

    Thank you so much for making this wonderful courser

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

    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

  • @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

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

    this react course is really really and genuinely very much helpful

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

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

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

    Harry bhai the great take love from Bangladesh

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

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

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

    very helpful playlist....thanks harry bhai

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

    Tutorial no. 69 🔥🔥🔥🌚 Nice

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

    Harry bhai please make a video on cookies!

  • @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

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

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

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

    CodeWithHarry is geat deloper in youtube

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

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

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

    Wah Harry bhai 🔥🔥🔥

  • @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

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

    useHistory replaced by useNavigate

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

    How you make these excellent videos very fast.

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

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

    Nice video Harry bhai

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

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

  • @techprogramming3092
    @techprogramming3092 2 роки тому +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 3 місяці тому

      watch old video where he has installed Cors

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

    MySQL full course and git cheatsheet please 🙏🏻🥺

  • @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 ?

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

    nice one Sirji

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

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

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

    Thanks @harrybhai

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

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

  • @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)

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

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

  • @arpangoyal316
    @arpangoyal316 5 місяців тому

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

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

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

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

    yes screencast needed

  • @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

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

    17:00

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

    Bhai Screen Cast mode thik nahi hai

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

    keep it off bro

  • @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 ?

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

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

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

    Php laravel par tutorial banado bhai please 🙏

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

    It’s not good to have screen cast mode on

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

    The magical number 🌚

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

      The POWERFULL number 🌚

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

      Powerful Numbers comes from Powerful places 🌚🌝

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

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

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

    If useHistory is not working instead u can use useNavigate

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

    why not we use .jsx extension for react file

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

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

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

    Harry Bhai😍

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

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

  • @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)

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

    Cant input email in the form what to do?

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

    hello harry bhai !!!

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

    I can not access my login and signup page

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

    Nice 👍

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

    there is no need of screencast mode....

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

    Screencast mode off rakho

  • @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

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

    jab ma value use karo to phir field kam nhi kr rha mtlb value nhi ly rha ..koi bata skta hai #harrybhai

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

    First like and first comment ❤️❤️

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

    Thanks

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

    Please make videos on nextjs

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

    Sir please tell us how to store files in mongodb

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

    Please off screen cast mode...

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

    Nice video

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

    Thanks bhaei please give me heart

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

    First time I am not late in class

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

    My vote goes fo Screen Cast Mode.

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

    that subtitle thing causes too much distraction

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

    0:13 Aise maat bolo Harry bhai ... Single hun bhai , dil se bura lagta h 😔💔

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

    Nhi bhai screencast off rakho mujhe problem hoti hai aur aapko bhi hoti hogi

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

    can anybody help me i am getting error of login

  • @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?

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

    😊

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

    It’s looking good to have screen cast mode on

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

    Unable to attempt login

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

    0:20 hhahahahahahahahah😂😂😂

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

    *Vanilla JS in one video* pliz sir 🥺

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

    Bhaiya thumbnail purana vala achha tha

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

    Screen Cast is awesome !
    Please bhaiya use rehne doo