Make a Simple ReactJS NavBar From React-BootStrap

preview_player
Показать описание
#arslan #reactJS #navbar
Please don't forget Like, Comment and Subscribe if you're new!

hopefully yall enjoyed this tutorial on making a simple reactjs navbar. Next time ill make a tutorial on how to do react routing! :)

Рекомендации по теме
Комментарии
Автор

Hey guys,
At 3:09 where I'm importing * as react bootstrap you can just do import {Navbar, Nav, NavDropdown} from 'react-bootstrap'

And also you don't need to import both the link and CSS just importing the CSS is more than fine
🙂

arslan
Автор

This literally saved my life.

Noone told me I had to import stuff, I was malding for a week.

Thank you so much.

DropOutCandy
Автор

In the first minute you solve the issue I had with my project thank you :P

ignaciosalia
Автор

exactly what I was looking for. saved my life bro

lofi_Insomnia_
Автор

You can add "import { Navbar, Nav, NavDropdown } from "react-bootstrap";" to import only the components you need for your Navbar.

diegolorenesi
Автор

As Arslan commented please do not do 'import * as ReactBootStrap from 'react-bootstrap'. It can impact the performance of your app/website to import everything at once. Just import what you need like this: import {Navbar, Nav} from "react-bootstrap". Furthermore, if you just import the things you need, you won't have to write <ReactBootStrap.Something/>, you can just directly write <Navbar/>, instead of <ReactBootStrap.Navbar/>. It results in very ugly code when you start writing "ReactBootStrap.Something" 10+ times.

martinlykke
Автор

This is exactly what I was looking for.
Thanks mate.

samuelsodagudi
Автор

I just needed one little thing and you explained it to me, THANK YOU!

benediktlantsoght
Автор

Great video. I watched through 3 more popular ones, which were terrible.
This is simple, straight to the point and shows how to use the documentation efficiently :)

ellstream
Автор

Thank you so much sir ❤️❤️
Love from India

AjitabhAnand
Автор

Thanks man, I search a lot & finally got your video., 🙏

gpravin
Автор

Thank you so much. Helped to get started ❤

sandeep-jpib
Автор

Im getting an error "Error: Invalid hook call. Hooks can only be called inside of the body of a function component." any help here?

chillpill
Автор

Thank you so much it worked ... I wish I could show you a screen grab.

meccaadams
Автор

_I have a question I have deployed a page in which I used Reactstrap for resposiveness and its workingg fine on my local host, is Resposive but on git hub page its not some contents are out of the container on mobile ? do you know how to fix this issue ?

omiqureshi
Автор

Part 2 of this video is not available. Could you please re-upload it as this first part really helped

jasonchung
Автор

Attempted import error: 'Brand' is not exported from 'react-bootstrap' (imported as 'ReactBootstrap').

satyabratagouda
Автор

How do I rename the nav links? Also, I want to add subcactegories, how and where do I do that? Please help asap.

itayyabkamran
Автор

Is there a way to use the react bootstrap nav props to make the hamburger menu close when you click outside it?

raba
Автор

Do you know if I can change the color of the menu icon to another color other than dark or light?

willsstern
welcome to shbcf.ru