React Sidebar Navigation Menu Tutorial - Beginner React JS Project Using Hooks & Router

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

КОМЕНТАРІ • 446

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

    Watch my updated React Sidebar Tutorial Using React Router v6.4
    ua-cam.com/video/zQBd3hNXJgI/v-deo.html

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

      It says
      Could not find a required file.
      Name: index.html
      after doing npm start

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

      Hello brian icons show < error while mapping

  • @farbodAprin
    @farbodAprin 2 роки тому +120

    Dear new coder and Brian,
    probably new versions.
    in react-router-dom v6, "Switch" is replaced by routes "Routes". You need to update the import from
    import { Switch, Route } from "react-router-dom";
    to
    import { Routes ,Route } from 'react-router-dom';

    • @realexo-lforever4591
      @realexo-lforever4591 2 роки тому +1

      thank u

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

      @Brian Design pin this

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

      thanks for everything..

    • @kevinmo8525
      @kevinmo8525 2 роки тому +6

      Not sure if this is affecting anyone but they changed "component" from route to "element" and inside the curly braces, you put .

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

      Thanks Brother, it helped a lot !!

  • @shraddhaholay5093
    @shraddhaholay5093 2 роки тому +19

    Dear new coder and Brian,
    In app.js you may need to make the changes as below for retrieving the pages:







    Great video Thanks brian !

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

      you, the MVP : ) thank you, I spent a lot of time debugging and didn't understand why no page got rendered

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

      I tried to fix this issue for hours!!!!!!!!!!!!!!!
      Thx so much

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

      I just made a new version so you can see it using v6.4 of react router

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

      @@briandesign Thankyou sir

  • @uumza555
    @uumza555 4 роки тому +16

    I practiced a few times with this tutorial, now I understand about react and how to handle with font-end in basic. Thank you so much Brian you made my coding better.

    • @briandesign
      @briandesign  4 роки тому

      Thanks uumza! glad it was helpful

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

    Thanks for starting it up from basically square one. So many tutorials I've looked at just figure we already know a bunch of stuff and leave me wondering, "Okay. Should I delete this file? Should I have two of index.js? Um why does everything I do error out?" and then you just walk away frustrated. This really starts from "I know nothing" and helps the learner build from there.

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

    Had been searching for a proper sidebar tutorial for a while. So glad I came across this amazing video. Clearly explained and just the right pace for me. Thank you so much!

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

    Thank Youu !😁
    Simplified my project with new vs code tricks I’ve learnt along the way. I like how u run into errors and explain the causes

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

    I'm going through the code on github and my god I never realized how we could achieve such a slick UI with such less code!!! I really wish I had gotten into react sooner!!!

  • @chrisyoonful
    @chrisyoonful 4 роки тому +22

    was able to implement this into my project pretty seamlessly. thanks!

  • @emmanuelsahrsewah
    @emmanuelsahrsewah 4 роки тому +7

    this was what i needed exactly for my apps admin section ... now i can get the ball rolling lol. Thanks mate

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

    A couple of years later, this tutorial is still amazing!
    And you drop a lot of cool tips for noobs like me.
    thank you!

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

    idk how...but i never replicated a tutorial before without issues. I replicated this tutorial and had zero issues on the first try. Tells a lot about how efficient your tutorials are. Thanks!

  • @nelsonchika
    @nelsonchika 4 роки тому +6

    These man needs more support .
    I've been wanting to learn REACT for a long time, but I found it kinda difficult, but his tutorials put me through and he made them simplified, thanks Brian.
    If you wanna help me sure, you can teach us how to achieve user Authentication with ReactJS.
    Much Love.
    Also leave all your social media link, imma follow you as soon as possible.

    • @briandesign
      @briandesign  4 роки тому

      Thanks David! I linked my twitter in my channel page

    • @nelsonchika
      @nelsonchika 4 роки тому

      @@briandesign Ok man...
      Much love and keep up the good work .
      But please honor my request on how to achieve user Authentication with ReactJS.
      Thanks once again.

    • @briandesign
      @briandesign  4 роки тому

      @@nelsonchika for sure!

    • @nelsonchika
      @nelsonchika 4 роки тому

      @@briandesign I also got to the first set of videos you posted on you channel on UI/UX Designs they are awesome, if you can also convert them to HTML codes, I'll be greatful.

    • @briandesign
      @briandesign  4 роки тому

      @@nelsonchika I'm planning on doing some HTML and css vids soon. I just got this one project I'm trying to finish first, then I can start posting a lot more vids

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

    This is the first time i make a sideBar, and damn it was so easy i thought it was complcated, thanks u brian for your help, definitly gonna like and subscribe

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

    Got this up and running on my newest project. works like a charm. Thanks, Brian.

  • @keshavrajacharya1145
    @keshavrajacharya1145 4 роки тому

    very easy and smooth. I liked the video . There is another option we could add is, based on the boolean value of sidebar (state)we can decide whether to show the whole nav-menu component by removing left-margin= -100% value by using a curly closing bracket.
    Anyway thank you very much for your wonderful nice tutorial.

  • @jadmatta7122
    @jadmatta7122 4 роки тому +8

    Thank you! This was so helpful and I really understood everything you did. Once again, thank you for such an amazing tutorial!

  • @FIFAcepalm
    @FIFAcepalm 3 роки тому +11

    You should be targeting 'transform: translateX' in your animation rather than 'left' for smooth animations. Left triggers the reflow where as transform only the repaint.

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

    I like how you dont jump around the screen all the time, my guy, I had to import all pages as:- import Home from './components/pages/Home';
    etc
    Good Video

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

    It was a short video and very simple step to follow, I'll check out for more of your clips. Thank you so much!! You made my life learning React easier.

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

    Solid, I'll check out your video on adding drop down in the sidebar, next. Appreciate it!

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

    thanks thanks thanks thanks thanks thanks thanks thanks thanks ......thanks a lot brother...take love..May Allah swt increase you in good deeds and increase your knowledge

  • @NémethÁdámBefektetés
    @NémethÁdámBefektetés 3 роки тому +1

    It was insanely helpful! Thanks a lot! Just started creating my React portfolio website and this navbar is perfect!

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

    An excellent tutorial on creating a Navigation Menu in React. Thanks, Brian
    {2023-01-23}

  • @Yousaiditismychoice
    @Yousaiditismychoice 4 роки тому +5

    Really great tutorial! Super simple to follow and very easy to go further from here. I was looking for something like this for a while now ;) Thanks!

  • @duncangroenewald
    @duncangroenewald 4 роки тому

    Brilliant mate - the first tutorial where critical steps are not skipped and everything works exactly as your does !! Too many tutorials out there that leave you stuck because they forgot to mention that installed some required component... Nice work !

    • @briandesign
      @briandesign  4 роки тому

      Thanks Duncan!

    • @duncangroenewald
      @duncangroenewald 4 роки тому

      @@briandesign Now perhaps you an show us how to create a sidebar menu that stays in place and updates the content in the main panel - like most desktop and iPad applications. Still amazes me how hard it is to create a split view with a sidebar menu on the left and the details panel on the right. Surely there must be some standard widget for doing this - oh SwiftUI hmm!

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

    I love this channel, your codes are most clean to understand

  • @Mishanrajshah
    @Mishanrajshah 7 місяців тому

    simple and straight forward video. keep it up

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

    This was awesome! Thank you!!! Really loved the explanation. Could be helpful to have the exact things we need to install via terminal :)

  • @christianlopez2477
    @christianlopez2477 4 роки тому +1

    Thanks for your video, it helped me a lot
    I just add that in the active nav-menu class I added "z-index = 1" so that the sidebar overlaps any bootstrap grid class on the main page
    Excuse me, I don't know English well. so I used a google translation
    Greetings from Chile

  • @lionelemanuelson
    @lionelemanuelson 4 роки тому

    Brian thank you so much!!! the video was very clear, straight to the point. looking forward to more videos of ReactJs

  • @100dounuts
    @100dounuts 3 роки тому

    Added this to my project very easily, thank you! the icons you showed me will make my website look wayyy better lol

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

    Super amazing dude, straight forward and easy to understand!

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

    Thanks for the video, it was really easy to follow and the finish result looks great!!!

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

    Thanks for the tutorial, very details explaination!!

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

    Wow! This is awesome bro!! Before i know you i have an extremely thirsty of React, but now i got a pleasant drink to take away my thirsty, thanks alot bro🙌🙌🙌

  • @melfordbirakor
    @melfordbirakor 4 роки тому

    @Brian, You were complaining about your Emmet not auto-suggesting html syntax in JavaScript. To rectify the issue, you will simply go to Emmet settings and check for this:
    “"emmet.includeLanguages": { "javascript": "javascriptreact" },”
    Include JavaScript among the languages that Emmet will work on.
    Thank you for your this tutorial also.

    • @melfordbirakor
      @melfordbirakor 4 роки тому

      Also, I like how you mapped through your Navbar and output the result but to improve more on it, instead of using {item.products}, etc you can use array destructuring too
      const {title, product, cName, etc} = item.
      Hence you only use {title}, next when outputting in ur tags. {title}

    • @briandesign
      @briandesign  4 роки тому +1

      @@melfordbirakor thanks yeah I had that emmet code I just had to restart my code editor. Also thanks for that tip for refactoring the code

    • @melfordbirakor
      @melfordbirakor 4 роки тому

      @@briandesign My pleasure 😃... welcome

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

    I really enjoy every second! Love you Brian keep continuing...

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

    Thank you for wonderful tutorial..I was able to use this seemlessly..

  • @quem_gabriel
    @quem_gabriel 4 роки тому

    thank you! Now I'm learning to use inside a top bar you teach, thank you !

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

    work very well ... i am studying and u are very didatic ... icon "hack" was pretty cool

  • @sajalagrawal1430
    @sajalagrawal1430 4 роки тому

    hi brian , i want to hats off to you man , you are awesome . please continue such awesome content , like different types of navbar , designing different small components in react like that . i like all your videos

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

    thank you! this video is very easy to follow and understand what's going on!

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

    Love the design and simplicity.. Waiting for more cool projects like this- plz do more react stuff.
    Can i suggest some small projects?

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

    Like and new subscriber. Thanks for share your knowledge and help the programmers community (And this React beginner xd). Btw, the format of your video is amazing.

  • @Vivi-Price
    @Vivi-Price 2 роки тому

    Thank you for this video! It was a huge help👏🏾

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

    Thank you thank you so much for this tutorial!! youre a saviour!

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

      feel free to watch my updated version using react router v6.4

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

    you are an awesome teacher thanks! very easy to follow along

  • @FRONTRUS
    @FRONTRUS 3 роки тому +16

    Anyone else who is watching this video not for tutorials, but for love for coding?

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

    Thank you very much! You are so cool and modern. I push the like button so hard, I broke my keyboard then, guush:(

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

    This is what I need, thanks man!

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

    Thank you dude, this was EXACTLY what I needed for my senior project. Learned a lot about React along the way!

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

    Amazing!
    Insanely helpful.

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

    Really explanatory!! Good job and thank you!

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

    Thank you very much it helped me a lot , keep up the momentum please

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

    Thank you! Super video about React Sidebar Navigation Menu

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

    Thank you!! This really helped us in our project

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

    omg...right now looking for the same....yup 🙃 Thank you soo much... Kindly make more videos 👍😊

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

    Very Helpful, thanks!!

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

    Very clear. Helped me a lot. Thank you! You earned a sub.

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

    Thank you very much for this tutorial!!

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

    Thank you very much dude! Great Job!!!

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

    This saved my time ... your my MVP

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

    Thankx for the wonderful tutorial :) . But, it would be great if you make the pages (home, reports) such that, when you click the menu, the page contents also shifts to right. Right now, if there is any content in the page, the menu div will hide certain portion of the page :(

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

    Amazing tutorial, got urself a new follower!

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

    Simple and very useful, thanks!

  • @wrighttechnologyinc.1544
    @wrighttechnologyinc.1544 2 роки тому

    You went crazy bro 🔥

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

    Awesome! Thank you for your time!

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

    Excellent tutorial, thank you very much!

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

    Thanks very much! Subscribed!

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

    Hi there,
    I found that the 'component' in 'App.js' line15 is not working in new version, so i replace to

  • @IK-pp4yf
    @IK-pp4yf 3 роки тому

    yo i think ur style is the best

  • @sarikyas.m.4477
    @sarikyas.m.4477 4 роки тому

    Thank you so much. Got it working exactly as u showed

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

    This was a lifesaver. THANK YOU!!!

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

    Amazing tutorial! you made so simple also the dynamic content on a react site.

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

    Good job Sir Brian !

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

    Great tutorial! Really awesome result and very good explanations.

  • @emmahmoraa7661
    @emmahmoraa7661 4 роки тому

    Thanks alot for this. Was very simple and works just fine.

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

    Awesome, Liked and subscribed😉

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

    This was so dope, thank you

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

    Thanks, you help me so much!

  • @Anne-kz4fi
    @Anne-kz4fi 3 роки тому

    Awesome tutorial! Just finished the whole thing and actually enjoyed the process. Thank you! Please keep small project tutorials coming.

  • @fayismusthafa5914
    @fayismusthafa5914 4 роки тому

    Really helpful, Thanks a lot Brian!!

  • @zackguerra
    @zackguerra 4 роки тому

    Badabin Badaboom! LOL.. works Perfectly buddy! Thank you very much!

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

    Thank you for content!

  • @jerrymiller1590
    @jerrymiller1590 4 роки тому

    This Brian, is definitely one of the best programming tutorials I have ever seen. I am learning React at the moment, and this video helped me so much with creating the sidebar for my new app. I thank you for your help and I look forward to your next videos :)

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

    You are amazing guy! So thanks, i loved it!!!

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

    Excellent Video Thanks!

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

    Hi Brian! Thanks for the tutorial!. I have a question, though. Can we change the path to link? How do we do that?

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

    Really like your presentation style

  • @MustafaCeliktas-xo5cd
    @MustafaCeliktas-xo5cd Рік тому

    that was awesome bro thank you

  • @ahnaafarafee
    @ahnaafarafee 4 роки тому

    very explained tutorial. good job 👍

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

    You earned my subcription.

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

    Awesome tutorial, thank you for this wonderful vedio.

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

    Thank you so much for this video 🙃

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

    Great Job Brain! the videois right on point, thank you

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

    MASTERPIECE thanks a lot man

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

    Hey, great video! One quick question, at about the 30:10 mark, where is the .home, .reports, .products coming from and what is that doing exactly? I also noticed you didn't add the team, messages, and support in there as well and was wondering the reasoning for that? Thanks!

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

      at 30:10 he applied CSS for pages (home.js, reports.js, and products.js ) just for demo purposes.. and later he used those CSS classes in components(home.js, reports.js, and products.js) here at 33:35.

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

    Amazing , thank you so much man

  • @ManiKandan-eo4sm
    @ManiKandan-eo4sm 4 роки тому

    Thank you....This video saved my time