Navbar using React Bootstrap, Responsive Navbar, React router dom on navbar 2021 | 2022

Поделиться
HTML-код
  • Опубликовано: 24 май 2021
  • Responsive Navbar using React Bootstrap, React Router dom for routing. Create navbar using react it's responsive and toggleable navbar.
    Source Code : github.com/arjungautam1/Navba...
    New Video on Navbar : • Responsive Navbar usin...
    Command :
    Create React App : $ npx create-react-app navbar-demos
    Run App : npm start
    Install React Bootstrap :
    $ npm install react-bootstrap bootstrap@4.6.0
    or use yarn
    $ yarn install react-bootstrap bootstrap@4.6.0
    Source Code : github.com/arjungautam1/Navba...
    React Js playlist : • React Router | Router,...
    ➡️ Subscribe : / codewitharjun
    Stay Connected :
    ➡️ LinkedIn : / arjungautam1
    ➡️ Github : github.com/arjungautam1
    Join Community :
    ➡️Discord : / discord
    Follow me on :
    ➡️ Medium: / codewitharjun
    ➡️ Dev.to : dev.to/codewitharjun
    #React #bootstrap #Navbar #CodeWithArjun

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

  • @manuelretamozo9278
    @manuelretamozo9278 3 года назад +12

    Thank you very much, It's very helpful , regards and Jesus' Blessings from Lima Peru

    • @CodeWithArjun
      @CodeWithArjun  3 года назад +1

      Glad you like it, please don't forget to subscribe to my RUclips channel.

  • @warmogs3955
    @warmogs3955 2 года назад +1

    Very good tutorial! Straight to the point and also very insightful on how to look up documentation by yourself. Thank you so much!

  • @toddh2327
    @toddh2327 Год назад +3

    Great work on this video. As noted in a comment below, the Switch has been replaced with Routes but aside from that this is a great overview of how to set up a multi page react SPA. Thank you!

  • @brett3554
    @brett3554 2 года назад +1

    awesome tutorial, straight to the point and a good pace

  • @simple8810
    @simple8810 2 года назад +1

    Thanks man finally I got the real react bootstrap router video, and I was using material ui that seems difficult for me

  • @yourdailygymclips
    @yourdailygymclips Год назад +1

    Finally it worked thx so much

  • @mlLearning490
    @mlLearning490 2 года назад +2

    This video is very helpful Thank you so much I will share this video with my classmates ❤️💙 thank you so much

  • @viram4478
    @viram4478 2 года назад

    Thank you! Very good explanation!
    How do we route to the .
    "as={Link} to=" does not seem to be working.

  • @khanf13
    @khanf13 2 года назад +1

    Awesome and to the point!

    • @CodeWithArjun
      @CodeWithArjun  2 года назад

      Glad it was helpful for you. Be sure to subscribe to my channel.

  • @SivaKumar-jb7xk
    @SivaKumar-jb7xk 2 года назад +2

    Quick video on the nav bar, superb. Please update that the 'Routes' has replaced the 'Switch' functionality.

    • @CodeWithArjun
      @CodeWithArjun  2 года назад +1

      I have already published video with updated Routes please go through my channel.

    • @toddh2327
      @toddh2327 Год назад

      Change the 'Switch' to 'Routes' in the following import:
      import { BrowserRouter, Routes, Route, Link } from "react-router-dom";

      This worked for me.

  • @ethancemer8679
    @ethancemer8679 2 года назад +1

    Thank you so much you are a blessing!

  • @sajibahmed872
    @sajibahmed872 2 года назад +1

    Thank you so much. It’s very helpful

    • @CodeWithArjun
      @CodeWithArjun  2 года назад

      Glad it was helpful! Be sure to subscribe.

  • @akuakana7364
    @akuakana7364 2 года назад +1

    Thank you. Your video was very helpful

  • @ahmedmoussa7519
    @ahmedmoussa7519 Год назад +1

    Thank you so much for the support. I made 100% to subcribed your Chanel

    • @CodeWithArjun
      @CodeWithArjun  Год назад

      Awesome thank you! Be sure to subscribe.

  • @braindead2237
    @braindead2237 2 года назад +1

    Brilliant Arjun!

  • @melvintowo654
    @melvintowo654 2 года назад +5

    For anyone following this tutorial.. Incase the routing bit does not work, try importing Route, Routes as Switch is omitted in v6 of react router DOM!

    • @CodeWithArjun
      @CodeWithArjun  2 года назад +1

      Thanks for sharing ! I have already published another video addressing the issue.

  • @sonu4738
    @sonu4738 4 месяца назад +1

    thankyou you saved my day today
    😊😊😊😊😊

  • @patricknielsen1910
    @patricknielsen1910 Год назад +1

    Helped alot, thanks!

  • @vaanoliseithi
    @vaanoliseithi Год назад +1

    all in one just 13 min your explanation great bro💔

  • @mubashar-nouman
    @mubashar-nouman Год назад +9

    For those who are getting error of switch export:-
    𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧#𝟎𝟏
    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';
    You also need to update
    to
    𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧#𝟎𝟐
    uninstall the version 6 of react-router-dom:
    npm uninstall react-router-dom
    And installed version 5.2.0 of react-router-dom:
    npm install react-router-dom@5.2.0

  • @giannisstamou3143
    @giannisstamou3143 2 года назад +1

    thanks man nice tutorial!

  • @felixfigueroa
    @felixfigueroa 2 года назад

    Thanks..! fast and perfect..!

  • @sqaSimplified
    @sqaSimplified Год назад +1

    Thank You.

  • @suryadeepan9296
    @suryadeepan9296 3 года назад +1

    Thanks for this tutorial please upload more videos for creating website using react with bootstrap

  • @airahjanetano7711
    @airahjanetano7711 2 месяца назад +1

    THANK YOU SO MUCH!!

  • @momentswithdave6216
    @momentswithdave6216 3 года назад +1

    Thanks for this tutorial

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

      Welcome, Please don't forget to subscribe.

  • @jeffreybandojo2458
    @jeffreybandojo2458 2 года назад +1

    Thank you most of the tutorial i searh is just creating navbar without functionality

    • @CodeWithArjun
      @CodeWithArjun  2 года назад

      Glad it helped you . Please don't forget to subscribe.

  • @syawadhilahpradipta828
    @syawadhilahpradipta828 2 года назад

    When I start npm start, it shows only navbar, but the body was blank, even though I have something on the body.do you know why?

  • @harmanmuhammad3696
    @harmanmuhammad3696 2 года назад +1

    well done man!!

  • @mhmdnzr
    @mhmdnzr 2 года назад +1

    that's the best tutorial!!!!

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

    outstanding explanation

    • @CodeWithArjun
      @CodeWithArjun  3 года назад +1

      Thank you! so much don't forget to subscribe my channel

  • @user-uk8ny3xf2s
    @user-uk8ny3xf2s 2 года назад +1

    The best
    Thank U
    :)

  • @when_life_gives_you_limes
    @when_life_gives_you_limes 2 года назад +1

    The way he calls bootstrap as "bootystrap" cracks me up a little.

  • @gilbertorogel81
    @gilbertorogel81 2 года назад +1

    very useful thanks

  • @douglasrichardson5721
    @douglasrichardson5721 3 года назад +2

    Is react-router-dom the only way to go with this? There is no built in functionality for this in react or even react-bootstrap?

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

      No unlike angular react doesn't have built in routing functionality, use have to use react-router-dom.

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

      ruclips.net/video/d0NrTG2yhiw/видео.html

  • @ciclopentanoperhidrofenant8341
    @ciclopentanoperhidrofenant8341 7 месяцев назад

    Why does my navbar stays in the middle of the screan and not in the top???

  • @luismarquez6653
    @luismarquez6653 2 года назад +1

    very good tutorial! I really learned a lot. I have one issue tho. I can't swith between pages until i press enter. It's not doing it when I click :(

    • @CodeWithArjun
      @CodeWithArjun  2 года назад +1

      I have other video for navbar check on my channel.

  • @swiszkiOj
    @swiszkiOj 2 года назад

    Please can you make a video on how to navigate into multiple pages after clicking a navbar?

  • @Ssunnayy
    @Ssunnayy 2 года назад +1

    you got the job done, but it was very messy demo

  • @kimonjeter6536
    @kimonjeter6536 Год назад +1

    good job👏

  • @Micha-ig6ic
    @Micha-ig6ic Год назад

    Works fine, but where is menu hide property after u click menu item?

  • @AloneDevotee
    @AloneDevotee 11 месяцев назад +1

    It is useful

  • @taurius159
    @taurius159 2 года назад

    Everytime "let me" is said drink 1 shot

  • @mohanlanke2945
    @mohanlanke2945 Год назад +1

    I'm getting this Error-----export 'Switch' (imported as 'Switch') was not found in 'react-router-dom'

    • @CodeWithArjun
      @CodeWithArjun  Год назад

      I have published new video on the same topic see on the end screen or link in the description.

  • @jastriarahmat659
    @jastriarahmat659 3 года назад +1

    is react-bootstrap still relevant? why not using vanilla bootstrap 5?

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

      I will try using that. Don't forget to subscribe my channel. I use material UI normally.

  • @syawadhilahpradipta828
    @syawadhilahpradipta828 2 года назад +1

    I have installed react-router-dom. and I got an error said "Attempted import error: 'Switch' is not exported from 'react-router-dom'." Do you know why?

    • @CodeWithArjun
      @CodeWithArjun  2 года назад

      Now in new version you have to use instead of Switch use older version instead it will work for you.

    • @bbbzbdbsns
      @bbbzbdbsns 2 года назад +1

      @@CodeWithArjun i used instead of now my navbar is not showing and my browser console is showing errors

    • @CodeWithArjun
      @CodeWithArjun  2 года назад +1

      @@bbbzbdbsns Instead of using use
      Likewise for About and Home. If you again get problem jion discord, I can help you to solve.

    • @omaraly3296
      @omaraly3296 2 года назад +1

      @@CodeWithArjun Tried changing the Route Path still getting errors in console about "Router"'

    • @CodeWithArjun
      @CodeWithArjun  2 года назад

      @@omaraly3296 I have published new video for that check out on my channel.

  • @pejuagsuksss
    @pejuagsuksss 2 года назад +1

    thank you arjun

    • @CodeWithArjun
      @CodeWithArjun  2 года назад

      Is it working ? for newer version or you replaced with ?

    • @pejuagsuksss
      @pejuagsuksss 2 года назад

      @@CodeWithArjun i will try later arjun

    • @pejuagsuksss
      @pejuagsuksss 2 года назад +1

      @@CodeWithArjun what version of react boostrap is that arjun?

    • @CodeWithArjun
      @CodeWithArjun  2 года назад

      @@pejuagsuksss Not for bootstrap i was taling about react router dom version 6. I am publishing new video today watch that.

    • @pejuagsuksss
      @pejuagsuksss 2 года назад

      @@CodeWithArjun ok sir i will watch later

  • @fionaodiogo2252
    @fionaodiogo2252 2 года назад

    how to you create links to the dropdown

  • @vatsvlogs6110
    @vatsvlogs6110 4 месяца назад

    4:44 rcc isn't working in mine

  • @kylekendall4220
    @kylekendall4220 2 года назад +1

    The selection state of the Link disappears after selected. How do I keep selection?

  • @ashif-anoop8062
    @ashif-anoop8062 2 года назад +2

    i am getting this error " Attempted import error: 'Switch' is not exported from 'react-router-dom'. "

    • @ProjetoCloudcom
      @ProjetoCloudcom 2 года назад +2

      Add this to the navbarcomp
      import {
      BrowserRouter as Router,
      Switch,
      Route,
      Link
      } from "react-router-dom";

    • @syawadhilahpradipta828
      @syawadhilahpradipta828 2 года назад

      @@ProjetoCloudcom I did added Switch on the import but its still gave me the same error

    • @bbbzbdbsns
      @bbbzbdbsns 2 года назад

      @@syawadhilahpradipta828 did you solve it. I am getting the same error

    • @bbbzbdbsns
      @bbbzbdbsns 2 года назад

      @@syawadhilahpradipta828found the solution

  • @alperencan4939
    @alperencan4939 2 года назад

    bro still same screen at 2:10. it doesnt write hello

  • @slamamustapha6093
    @slamamustapha6093 2 года назад +1

    why when i type "rcc" nothing happend please i need help

    • @CodeWithArjun
      @CodeWithArjun  2 года назад +1

      install react sniplets from the extension of vscode.

    • @slamamustapha6093
      @slamamustapha6093 2 года назад +1

      @@CodeWithArjun thank you 😍

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

    and one more thing how can i become good in react js

    • @CodeWithArjun
      @CodeWithArjun  3 года назад +1

      master basics and try to build some projects

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

      ruclips.net/video/d0NrTG2yhiw/видео.html

  • @imbeckimback
    @imbeckimback 2 года назад +1

    switch d'not react router dom 6
    switch => routes

    • @CodeWithArjun
      @CodeWithArjun  2 года назад

      i have already got new video using routes you can check out on my channel.

  • @kukkujerin9563
    @kukkujerin9563 2 года назад +1

    where is the source code

    • @CodeWithArjun
      @CodeWithArjun  2 года назад

      Visit my github account arjungautam1

    • @digender
      @digender 2 года назад +1

      @@CodeWithArjun its not there you repo is empty

    • @CodeWithArjun
      @CodeWithArjun  2 года назад

      @@digender now check i have just uploaded. or you can directly find the link on description.