React Router Complete Guide (Route, Link, NavLink, Redirect, Prompt )

Поделиться
HTML-код
  • Опубликовано: 4 мар 2018
  • Full guild to routing in react js using React-router-dom library. Redirect to different route, Use links to route to specific page and use prompt to stop from exiting a route.
    Article and code samples from this tutorial
    * github.com/techsithgit/react-...
    Please be my patreons on patreaon
    * / techsith
    Follow me for technology updates
    * / techsith
    * / techsith1
    Help me translate this video.
    * ruclips.net/user/timedtext_vide...
    Note: use translate.google.com/ to translate this video to your language. Let me know once you do that so i can give you credit. Thank you in advance.
  • НаукаНаука

Комментарии • 512

  • @surajbhatt8386
    @surajbhatt8386 5 лет назад +13

    I have been learning react for like 2 months down and wasn't able to figure out how to redirect and use prompt.
    I have checked all the official documentation and finally this video made my day.
    Thanks man.

    • @Techsithtube
      @Techsithtube  5 лет назад

      Suraj, I am glad that you got it. :)

  • @jasper_pa
    @jasper_pa 6 лет назад +54

    I bought a React course on Udemy. Im halfway trough this course and have no idea what Im doing. With this Video I learnt much more in much less time about how React works! Thank you!

    • @Techsithtube
      @Techsithtube  6 лет назад +3

      I am glad it helped. Thanks for watching!

    • @chenwen-hao5023
      @chenwen-hao5023 4 года назад

      Is it one of the complete guide courses on Udemy? I am also doing it.

    • @misbahmushtaq5881
      @misbahmushtaq5881 4 года назад

      ​@@Techsithtube Hey Sir, can you please mention the extensions you are using within the tool, as it made it much easier to code. I tried React food truck and I am unable to use predefined functions or libraries in my vsCode.

    • @randomindianfandom1667
      @randomindianfandom1667 3 года назад

      @@Techsithtube Same here it was very helpful for covering the topics in detail

  • @roshnikutty4252
    @roshnikutty4252 6 лет назад +12

    Thank you so much for this tutorial, I was looking forward to this!! Great examples, covering so many scenarios!! I have saved this to my favorite React tutorial list on youtube. I truly appreciate you providing these tutorials

  • @handsome_man69
    @handsome_man69 5 лет назад +96

    you deserve a nobel prize in tutorialism

    • @MrMrimmer
      @MrMrimmer 4 года назад +1

      Great tutorial! You covered the basics very well! Many thanks!

    • @MuhammadAbdullahMirza
      @MuhammadAbdullahMirza 4 года назад +1

      Very right

    • @BharCode09
      @BharCode09 4 года назад +1

      "Tutorialism"? Well you deserve nothing lesser for inventing a word like that :) Good one!

  • @rounakjain5774
    @rounakjain5774 5 лет назад +6

    You made a very important point in the beginning. People tend to teach these concepts within a large project which makes it really hard to understand. Thanks for the video.

  • @maxiequa567
    @maxiequa567 5 лет назад +3

    Thank you so much for doing this as a project focused on the topic in question and not part of a giant project with useless info, great teacher!

    • @Techsithtube
      @Techsithtube  5 лет назад +2

      I am gald that it helped. I struggled when i was learning react routers so I created using my knowledge to so others dont have to struggle.

  • @itrauco
    @itrauco 5 лет назад

    This was great, thank you for leaving all of the typical project/app “fluff” out and getting straight to the point!

  • @mikec3412
    @mikec3412 6 лет назад +2

    I love your videos man, I'm building fullstack applications now and your tutorials are the best.

  • @billybobgeo
    @billybobgeo 5 лет назад

    Hi Techsith -- This is my favorite in the series -- nice blend of your signature instruction and lots of step-by-step code to introduce the facets of React Router: Link, NavLink, Redirect and All.. rock on!

  • @shawnlee5956
    @shawnlee5956 5 лет назад

    Simple, clear and direct to the point.
    I think every video should be like this, less advertise, and more on content.
    Thanks you for the effort.

  • @brilliantphal6646
    @brilliantphal6646 6 лет назад

    I have been looking for tutorials like yours for a long time. I can say you are very straight to the point. :) I really appreciate this.

  • @gordonmceachin2093
    @gordonmceachin2093 5 лет назад +3

    Thank you for a clear explanation the react router, I am a student and this will definitely help me incorporate the router into my final class project.

  • @chinnamanigandan3378
    @chinnamanigandan3378 4 года назад

    I have used older React router in React 15.3 version couple of years ago in my project. Also I had seen some of the tutorials with react-router-dom but did not understand the core concepts of it. When I gone through this video I could get what you were trying to explain. Techsith, you are doing an awesome job. Especially your ES6 tutors were phenom..Thanks a lot..

  • @hussam68
    @hussam68 5 лет назад +2

    Man, I need to thank you for your great explanation of the react-router-dom. I've watched several videos, but yours made me stop half way through to like this video, and leave this comment. Thank you sir. Please keep doing tutorial videos about react, you're very good at that.

  • @anyika1000
    @anyika1000 4 года назад

    Pure and Precise. Keep it up sir. Super easy to understand. Been doing react for two days now, this video made me understand routing in react way better than never before

  • @mostafashawki
    @mostafashawki 5 лет назад

    Perfect, the good thing on your series that you build a different project every tutorial.

  • @vimsen2221
    @vimsen2221 5 лет назад +1

    I have been following all 11 tutorials so far in this course. They are excellent and extremely well presented. Thanks

  • @Podcast_Browntown
    @Podcast_Browntown 4 года назад +1

    I spent 3 days on this one issue. When I route different pages they just all
    Show up together. Using the “exact” method fixed these problems. Not a single other tutorial expresses this issue. Thank you so much !

  • @davidtoska7791
    @davidtoska7791 6 лет назад

    Easy to understand. Straight to the point. Like it!

  • @riddhin5189
    @riddhin5189 6 лет назад +3

    nice explanation, step by step guide..simple and classy !! helpful ! Thank you

  • @AterKenshi
    @AterKenshi 5 лет назад +4

    Thanks to you I found my mistake, I've did the router worked when I was starting to learn react but I didn't understand well the routes in the app (Also I have them in another component). After 5 minutes I knew what was wrong.
    Thank you so much, Now it's clear to me

  • @billwindsor4224
    @billwindsor4224 5 лет назад +1

    @techsith - this is an excellent tutorial on React Router, including application code and usage examples for Link, Navlink, Redirect, and Prompt - as you mention. *Thank you!*

    • @Techsithtube
      @Techsithtube  5 лет назад +1

      I am glad that you learnt something for this video. Thanks for watching! :)

  • @harveyboity4146
    @harveyboity4146 5 лет назад +2

    Nice video. Router concept explanation is damn good. Thanks a lot!

  • @charles87b
    @charles87b 6 лет назад

    This is the video that I’ve been looking for... thank you!

  • @SauravR402
    @SauravR402 4 года назад +1

    Simple and straight presentation of ideas. Really liked. Thanks.

  • @nguyenhaidung8833
    @nguyenhaidung8833 6 лет назад +2

    After a long search about react router, i am so glad that i found you

  • @TanujPanchal16
    @TanujPanchal16 6 лет назад

    Very simple and helpful tutorial. You have explained everything so easily. Looking forward for more interesting tutorials. Keep it up.

  • @olgasinenkova3300
    @olgasinenkova3300 4 года назад

    "A lot of people build lrge projects and explain it that way" - 100%, thank you for having your approach, it's the best!

  • @haikazahid4665
    @haikazahid4665 4 года назад +1

    Totally appreciate the way you explain each topic with new app
    Thank you for sharing knowledge in such an amazing way !!

  • @olegfrolovdesign
    @olegfrolovdesign 4 года назад +1

    Thanks a lot for this tutorial! Well explained. Easy to understand.

  • @jeromeeusebius
    @jeromeeusebius 4 года назад

    Thanks for taking the time to make this tutorial. It was helpful especially, introducing the different ideas and concepts sequentially and also explaining why you are introducing them.

    • @Techsithtube
      @Techsithtube  4 года назад

      Thanks for watching!

    • @ai-bruise
      @ai-bruise 4 года назад

      If you want some more advanced examples with react-router just see README github.com/Sin9k/react-router-dom-tricks

  • @generalzeedot
    @generalzeedot 3 года назад

    phenomenal teacher! Keep up the good work Sith

  • @prabhukadode723
    @prabhukadode723 5 лет назад +2

    Thank you for this beautiful tutorial. All doubts i have about routing in reactjs have been cleared .. Thanks again sir.

    • @Techsithtube
      @Techsithtube  5 лет назад +1

      Glad you got it prabhu. Keep on learning

  • @autumnleaves9917
    @autumnleaves9917 6 лет назад +1

    Thank you sooo much! This is the best I've found!

  • @tommyleong8328
    @tommyleong8328 4 года назад

    Once again great content, helping me to understand how react-router works. Though am I puzzled with all the functionalities I could use (match, location, history, etc..) but I get the basic idea on the navigation and param passing! Thanks man!

  • @raekwonthachef
    @raekwonthachef 4 года назад

    I'm brand new to routing, thanks for the great video!

  • @markchristopherdauz7750
    @markchristopherdauz7750 6 лет назад +1

    Thank you so much!, simple explanation but straight to the point!, ☺

  • @arpithap7900
    @arpithap7900 3 года назад

    Explanation and examples are very clear to understand, Thanks

  • @lokeshkatikireddi1924
    @lokeshkatikireddi1924 3 года назад

    Very Impressive. Hats off. Best way of teaching things.

  • @ArunKumar-ck9jj
    @ArunKumar-ck9jj 5 лет назад

    Amazing Tutorial for React. Thank you!

  • @btr333
    @btr333 5 лет назад

    Very good. Simple and intuitive.

  • @dinseid202
    @dinseid202 3 года назад

    This is really amazing. Thank you for your nice explanation!!

  • @jasonhoffman4990
    @jasonhoffman4990 5 лет назад

    Thank you for a great and comprehensive video!

  • @bharathkumarkande5530
    @bharathkumarkande5530 5 лет назад

    Very good attempt to get users started off with react-router-dom. Personally, it helped me very much for an interview. Thank you.

    • @Techsithtube
      @Techsithtube  5 лет назад +1

      I am glad that helped you. Good luck with the interviews ! :)

  • @user-il1rd3ns7q
    @user-il1rd3ns7q 5 лет назад +3

    Thanks for tutorial. It was useful for me :)

  • @malinbrannegard5939
    @malinbrannegard5939 6 лет назад

    This video is great! Thank you so much for explaining

  • @priyamit_singh
    @priyamit_singh 3 года назад

    best tutorial i found on RUclips for this topic great work thank you so much

  • @TechRedux
    @TechRedux 5 лет назад +2

    Sir You Are Amazing..I Was Trying To Find A Solution Related To Conditional Routing For 3 Hours And You Solved My Problem

    • @Techsithtube
      @Techsithtube  5 лет назад

      I am glad that you were able to solve this. Thanks for watching.

  • @naeemjamali1475
    @naeemjamali1475 6 лет назад

    Awesome tutorial and to point things. A big Thankx for that, I appreciate your teaching skills and honesty of telling about everything deeply. Thank you.

  • @nipambarman9785
    @nipambarman9785 5 лет назад

    NICE!! Very much helpful..short n to the point video...please make this kinda videos...Will go through your all React videos....Thank you so much

  • @malvikatiwari3857
    @malvikatiwari3857 4 года назад +1

    You make the learning so simple .....I have seen that video on other sites but it's so confusing. Thanks for doing this

  • @varunsharma5045
    @varunsharma5045 5 лет назад +2

    Another superb video...nicely explained...

  • @MuhammadAbdullahMirza
    @MuhammadAbdullahMirza 4 года назад

    I loved your video its very simple,easy to understand for beginners & it helped me a lot.

  • @themynamesb
    @themynamesb 4 года назад

    Great work !! Very nicely explained !!

  • @abhishes
    @abhishes 6 лет назад +2

    Amazing video. thanks for doing it.

  • @badytouray294
    @badytouray294 3 года назад

    Really enjoyed watching this tutorial, I have subscribed and hit the notification bell :-) Looking forward to seeing more videos.

    • @Techsithtube
      @Techsithtube  3 года назад

      Thanks for subbing! Keep on learning!

  • @simonkalu
    @simonkalu 4 года назад +1

    This is very useful and can be applied to a real world case. Thanks

  • @AbdiMuleta
    @AbdiMuleta 6 лет назад +5

    Awesome tutorial!

  • @deveshkachhaway5715
    @deveshkachhaway5715 4 года назад +1

    Very good details on Router. Thanks🙂

  • @ramyfarid2296
    @ramyfarid2296 5 лет назад

    Please don't stop tutoring! you are great

  • @tenet-rotas
    @tenet-rotas 6 лет назад

    This is an excellent video!
    Thanks for explaining this.

  • @vickyvirat5166
    @vickyvirat5166 4 года назад

    you explained it pretty well and very easy to understandable manner

  • @ManishSingh-lk4qs
    @ManishSingh-lk4qs 5 лет назад +2

    Amazing explanation. Thanks a lot Sir.

  • @naveenkumar-vb8tp
    @naveenkumar-vb8tp 6 лет назад +3

    your tutorials are always awesome. great tutorial on react router

  • @V36198
    @V36198 5 лет назад

    While Reading about React in Medium blog was difficult to understand initially.After going through your videos,now I am reading those articles ,every blog about react seems interesting.Thank you.

  • @garrettbaker2320
    @garrettbaker2320 6 лет назад +7

    Great stuff!

  • @gabrielfono844
    @gabrielfono844 4 года назад

    sir you are such an amazing teacher and I really like the way that you explain concept.
    even by seeing the way that you explain concept, I guess you are a disciplined and honest person
    thanks so much

  • @wizardreza
    @wizardreza 4 года назад

    thank you, i think this is very simple explaination, honestly, i m very dificult to understand how JS routing page, because im from PHP programmer, but now, i know how it work, thank you very much

  • @Jessica-wo3lr
    @Jessica-wo3lr 5 лет назад

    All of your videos are life savers!! Thanks! :)

    • @Techsithtube
      @Techsithtube  5 лет назад

      I am glad the videos are helping you ! Thanks for watching Jessica! :)

  • @laquocanh
    @laquocanh 4 года назад +4

    this guy's so good, he speaks clear English!

    • @RonWarnerBubbleKing
      @RonWarnerBubbleKing 3 года назад

      Well, not really. He keeps saying stuff like "we going to" instead of "we're going to," "vweedeo" instead of "video" and other things that are grating on the ears of native speakers.

  • @poladalqayev631
    @poladalqayev631 5 лет назад +2

    Thank u for great explaining !

  • @algomonster5897
    @algomonster5897 5 лет назад

    Thank you So much for this video. It is in depth and very good explanation. Thanks again.

  • @mhmdnayef710
    @mhmdnayef710 6 лет назад

    You are the only one , who did this topic , in this awesome explanation on youtube........you are awesome

  • @antonioguiotto529
    @antonioguiotto529 5 лет назад

    Thanks for the explanation, very appreciated.

  • @raheelaslam3909
    @raheelaslam3909 5 лет назад

    Awesome React js Tutorial series Thank you so much

  • @rajaramsavant4384
    @rajaramsavant4384 4 года назад +4

    Really helpful, major parts of the react are explained in a proper way so that it can be understood easily 👌👌

  • @ramsreddy9563
    @ramsreddy9563 4 года назад

    Single word just awesome explanation

  • @nageswarkv
    @nageswarkv 5 лет назад

    I did liked the video. I have paid subscription to Pluralsight but could not understand there and i have to fallback to ur video for understanding router. Great Job

  • @RockstahRolln
    @RockstahRolln 4 года назад

    Such a Brliiant video on Routing, you made is extremely easy to understand! Thank You!!

    • @ai-bruise
      @ai-bruise 4 года назад

      if you want some advanced examples just see README: github.com/Sin9k/react-router-dom-tricks

  • @edwardjr.5688
    @edwardjr.5688 4 года назад

    Thanks for a very nice tutorial!

  • @er16deepak
    @er16deepak 5 лет назад

    Thank you for such a wonderful video...You made React router very easy to understand.

  • @tankodani
    @tankodani 6 лет назад +1

    Love you men ♥ this was just what I needed

    • @Techsithtube
      @Techsithtube  6 лет назад

      :) I am glad you got it. Thanks for watching!

  • @rohitkudalkar92
    @rohitkudalkar92 5 лет назад +1

    I can find the best solution for javascript from your tutorials. You are the best. thanks and regards.

    • @Techsithtube
      @Techsithtube  5 лет назад

      Thanks for the comment Rohit. Keep on learning!

  • @prabu106
    @prabu106 5 лет назад +2

    Great.. It is very useful to learn react router concepts.
    ThankYou.

  • @omerdoron1110
    @omerdoron1110 5 лет назад

    What a great tutorial, Thank you!

  • @subhanvempalli6088
    @subhanvempalli6088 4 года назад +1

    Thanks for this tutorial, very easy to understand for beginners

  • @oleksii208
    @oleksii208 5 лет назад

    brilliant way of explanation you are a great teacher!

  • @alex9471
    @alex9471 5 лет назад +1

    Fantastic video. Thank you

  • @bender2752
    @bender2752 5 лет назад +3

    clear and useful!

  • @oskarbrandt4390
    @oskarbrandt4390 5 лет назад +1

    You saved my week!

  •  6 лет назад

    This is a great video. Thank you!

  • @sivamurugans3228
    @sivamurugans3228 3 года назад

    It's very clear to understanding and helpful..!!

  • @user-ss9cg1qk1i
    @user-ss9cg1qk1i 6 лет назад

    Thanks for very clear concepts building

  • @OnTheSpurOfTheMoment
    @OnTheSpurOfTheMoment 6 лет назад

    Good job. Well explained. Thanks.

  • @oncle_dan
    @oncle_dan 5 лет назад +1

    Very well explained, thank you sir!

  • @uclastudentservices309
    @uclastudentservices309 6 лет назад

    Nicely done! Thank you!

  • @Fred1989
    @Fred1989 5 лет назад

    Great videos you explain a lot and in great detail, your series deserve more views :)
    I do want to add though that a login example may not be the best scenario to use for these particular examples. It should be made clear that pages that require login restriction should be handled server side and not everyone that follows these tutorials would know that. Any client side restrictions can be circumvented and I believe this is important to mention!
    All the best to you and I'll be looking forward to more of your content,
    Fred

  • @josecarvalho4046
    @josecarvalho4046 4 года назад

    Thanks for the video. Helped me a lot

  • @bitmammothOG
    @bitmammothOG 3 года назад

    Found this very helpful thank you so much!

    • @Techsithtube
      @Techsithtube  3 года назад

      Glad it was helpful! Thanks for watching!

  • @lord_kh4n
    @lord_kh4n 6 лет назад

    Great Explanation, sir