
React Router Crash Course
video description
Date: 2022-03-14
Related videos
Comments and reviews: 10
Rakesh
it's not working even after adding the components.
import - BrowserRouter, Route - from 'react-router-dom';-
import './App.css';-
import Header from './components/Header';-
import Home from './Pages/Home';-
import About from './Pages/About';-
import Profile from './Pages/Profile';-
function App() --
return (-
);-
--
export default App;-
where is the error??
please help someone.
reply
it's not working even after adding the components.
import - BrowserRouter, Route - from 'react-router-dom';-
import './App.css';-
import Header from './components/Header';-
import Home from './Pages/Home';-
import About from './Pages/About';-
import Profile from './Pages/Profile';-
function App() --
return (-
);-
--
export default App;-
where is the error??
please help someone.
reply
alpha
this is my another hindu- instructor and i know this is gonna be a great teacher. I've watched a lot of tutorials by hindu- instructures and they are just amazing. they have different way of teaching us. though i always choose the best that works for me and that is either english and hindu- instructor. thank you sir.
reply
this is my another hindu- instructor and i know this is gonna be a great teacher. I've watched a lot of tutorials by hindu- instructures and they are just amazing. they have different way of teaching us. though i always choose the best that works for me and that is either english and hindu- instructor. thank you sir.
reply
Milad
Thank you for the detailed video about React Router. I have a question about nested routes. How could we have nested routes within the home page. For example, the 'path' and url give us only the slash '/' and therefore the path in this line of code evaluates to //viewProfile, which throws error?
reply
Thank you for the detailed video about React Router. I have a question about nested routes. How could we have nested routes within the home page. For example, the 'path' and url give us only the slash '/' and therefore the path in this line of code evaluates to //viewProfile, which throws error?
reply
anilyash
how can we change the root component?
for example we have navbar in app.js file it still remains at the same place in entire project how can we change or modify like add some more links to that..
explain ASAP
reply
how can we change the root component?
for example we have navbar in app.js file it still remains at the same place in entire project how can we change or modify like add some more links to that..
explain ASAP
reply
Shiro
You sir, is the most hilarious Teacher I encountered here hahaha I enjoyed and easily understood the concept of react-router because of the way you are teaching. Hopefully I would be able to apply it right as well.
reply
You sir, is the most hilarious Teacher I encountered here hahaha I enjoyed and easily understood the concept of react-router because of the way you are teaching. Hopefully I would be able to apply it right as well.
reply
Adam
Thanks for the detailed video. I think it's important to note that many of the techniques discussed in this video use hooks and therefore only work with functional components, not class components.
reply
Thanks for the detailed video. I think it's important to note that many of the techniques discussed in this video use hooks and therefore only work with functional components, not class components.
reply
Mrigank
at 30:00 why did he use history in dependencies of useState? I think it cause cause a loop of rerenders, because he is pushing in history in useeffect callback. and history is in dependecy too.
reply
at 30:00 why did he use history in dependencies of useState? I think it cause cause a loop of rerenders, because he is pushing in history in useeffect callback. and history is in dependecy too.
reply
Arash
That's great
How it possible when you click on view profile see new page of view profile I mean that page completely refresh and just show the content related to view profile component
reply
That's great
How it possible when you click on view profile see new page of view profile I mean that page completely refresh and just show the content related to view profile component
reply
Humayun
FYI guys: This tutorial is for React Router v5. The latest version right now is v6. I wish it was mentioned in the title. Other than that its very good tutorial. Thanks for teaching us
reply
FYI guys: This tutorial is for React Router v5. The latest version right now is v6. I wish it was mentioned in the title. Other than that its very good tutorial. Thanks for teaching us
reply
chaimae
Error: A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .
that keeps showing to me even if i did the same as him i am on 8:41
reply
Error: A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .
that keeps showing to me even if i did the same as him i am on 8:41
reply
Add a review, comment
Other channel videos















