React Router 6 - What Changed & Upgrading Guide

React Router 6 - What Changed & Upgrading Guide

Academind

2 года назад

173,274 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Ivan Oliveira
Ivan Oliveira - 15.01.2023 18:57

Thank you so much! useParams saves my day!

Ответить
kent miggalen
kent miggalen - 21.12.2022 18:07

i'm doing your full react course and i'm having a hard time following your router module because it's react router 5 and trying all i can to convert it to react router 6

Ответить
Howie Wang
Howie Wang - 11.11.2022 16:55

Thanks for this video. v6.0 --> v.6.4 my order to upgrade from v5.3 Also I come from MERN stack course. Are you planning to update this course in the future?

Ответить
mpcrockett
mpcrockett - 01.11.2022 19:51

I've come back to this video several times, it's a lifesaver! Thanks!

Ответить
Ganesh Singh
Ganesh Singh - 27.10.2022 15:45

How to integrate react router 6 with redux saga ?

Ответить
Shrimali Shrimali
Shrimali Shrimali - 23.10.2022 07:19

mindBlowing Explanation...

Ответить
shini sop
shini sop - 25.09.2022 20:48

thanks

Ответить
Aftab Taabi
Aftab Taabi - 23.09.2022 15:55

Like ?Sort=asc...
As we did in the React course to programatically change the sorting order.

Ответить
Aftab Taabi
Aftab Taabi - 23.09.2022 15:53

With Best Wishes Sir!
What about query params Sir???

Ответить
Hussain Abbas
Hussain Abbas - 30.08.2022 18:19

thanks a lot

Ответить
אילן לוי
אילן לוי - 31.07.2022 14:48

תבורך מפי עליון!

Ответить
Sett Ran Naing
Sett Ran Naing - 22.06.2022 09:34

Thanks, Max .

Ответить
Anh Tung Le
Anh Tung Le - 02.06.2022 06:58

bought your course twice.

Ответить
AO4
AO4 - 21.05.2022 13:13

This is so useful, old tutorials using a different syntax meant I had absolutely no clue why my jsx weren't rendering until I stumbled across your video. Thank you!

Ответить
Vivek S
Vivek S - 14.04.2022 12:31

Hi, thank you for this video, it is really helpful but I've a doubt, that is how to get props?

Ответить
Martynas Gecas
Martynas Gecas - 10.04.2022 01:45

Thank you!

Ответить
NewG1 Render New
NewG1 Render New - 03.04.2022 12:10

Thank you very very much. I was learning React-Router from 1 year older videos and it was not woking and i was frusteted but after watching this I am relived.
thanks again

Ответить
Dobre Alexandru
Dobre Alexandru - 01.04.2022 14:21

Thank you , still you forgot to speak about useRouteMatch that doesn t exist anymore

Ответить
olivia zhai
olivia zhai - 20.03.2022 07:29

such a great video, thanks so much for making the video

Ответить
Oanh Trần
Oanh Trần - 20.03.2022 05:05

Thanks for sub

Ответить
Flower of Ash
Flower of Ash - 17.03.2022 19:08

excellent clear explanation, auto subscribe!!!

Ответить
Flower of Ash
Flower of Ash - 17.03.2022 17:31

THANK GOD THIS TUTORIAL EXIST

Ответить
sai Ramakrishna
sai Ramakrishna - 15.03.2022 19:07

How to use usenavigate in class component after new update history.push is not working I don't want to use window.location because it's reload the page

Ответить
HaNa
HaNa - 09.03.2022 10:12

this guide is fucking awesome

Ответить
Ashwin Chaudhary
Ashwin Chaudhary - 09.03.2022 08:56

why we don't get history,location,and match object in V6 ,so how we can navigate programatically from class component ex. this.props.history.push("/checkout"); Please Help

Ответить
Arnel Enero
Arnel Enero - 08.03.2022 23:07

Isn’t changing the established form of the className prop (for NavLink) a debatable design decision?
This is a great summary of the changes btw!

Ответить
Andrey Arhipov
Andrey Arhipov - 08.03.2022 09:27

Thanks for the best explanation about activeClass for NavLink :-)

Ответить
mahdi kamran
mahdi kamran - 27.02.2022 16:18

yore best teacher in the world

Ответить
Bar Refaeli
Bar Refaeli - 08.02.2022 16:57

thank you.

Ответить
AHISHKA
AHISHKA - 03.02.2022 22:27

Amazing! Much appreciated, amazing explanation, will start using v6 now

Ответить
Abacas
Abacas - 31.01.2022 17:35

How to see history object in console in router v6 because withRouter no more exsist in v6?

Ответить
Mohsin raza
Mohsin raza - 28.01.2022 10:43

Such a brilliant and to the point explanation.
I learned react native from you and now react router explanation is superb.

Ответить
MilfHunter
MilfHunter - 27.01.2022 16:42

when will you learn to properly pronounce the V?

Ответить
Arun Chapagain
Arun Chapagain - 26.01.2022 12:41

Thats why you are highest rated on udemy too.. Thanks Max

Ответить
mihail madzharov
mihail madzharov - 25.01.2022 12:08

Hi, What is the best way for creating a guard with the new Router. What I mean is that I have Admin page and I want the user to be navigated only when he is logged in.

Ответить
Edson
Edson - 22.01.2022 18:28

Hey Max, i just bought your react course in Udemy. Will it be updated to v6? or it was updated already.. i'm just starting the course

Ответить
abeeb ayinla
abeeb ayinla - 19.01.2022 00:23

Thanks for the update. There is another change I saw which was "withRouter" was not found in version 6 or react-router-dom. Please do you know the alternative to "withRouter" in version 6?

Ответить
Artifical Lead
Artifical Lead - 13.01.2022 18:08

hello you mentioned in your meetup app with react that we do not want to send data from a database due to security. I was wondering is there a way to fetch video data as you did with an image and somehow have it encrypted to prevent users from downloading or viewing the video without being logged in. I tried this and i noticed the data was able to be seen inside the inspect element. Do you have a course that details this concept ?

Ответить
Reza Mousa
Reza Mousa - 12.01.2022 14:10

thanks a lot

Ответить
Mrinal Raj
Mrinal Raj - 11.01.2022 23:50

Exactly what I was looking for.......cheers

Ответить
Souls Lord
Souls Lord - 11.01.2022 16:50

Pour ceux qui feraient le tuto en 2022, Switch n'existe plus, il faut le remplacer par Routes. ainsi que component dans les Route, il faut l'écrire comme cela <Route path="/" element={<Home/>} />

Ответить
pavan kumar reddy G
pavan kumar reddy G - 10.01.2022 17:06

Hey max, could you please make video on xstate/react api’s

Ответить
Hữu Phước
Hữu Phước - 08.01.2022 05:58

Helpful. I did fall in love with your React course

Ответить
Agustin Federico
Agustin Federico - 06.01.2022 20:27

Hey! Fantastic tutorial. Two questions tho:

1- If I'm inside of a component, now routing is relative to the parent. What if I want to go out, and have a link to the main page? Am I obligated to use navigate? Or navigate is also relative to the parent route?
2- The outlet: we saw an example of an outlet with just one child. But what if have two or more children? How can I specify the place to show each of those if the position in the page for them is different?

Thank you so much for this!

Ответить
Chethan Kumar
Chethan Kumar - 05.01.2022 13:30

how to display nested route component in a new page? Please someone help me.

Ответить
Omri Maher
Omri Maher - 02.01.2022 02:05

I still watching to see if your video cover react router : Route Render Function and Route Props thanks for your efforts

Ответить
airixxxx
airixxxx - 31.12.2021 03:18

Thanks Max! Great video as always. What's the best way to declare child routes that are not nested. For example if you have a Products page (/products) and a sub category of products, something like (/products/chairs). You just put one bellow the other or there's a better way to declare them?

Ответить
Sokha M
Sokha M - 26.12.2021 03:15

useNavigate doesn't work in react class component. anybody know how to use it?

Ответить
tommy_videoz
tommy_videoz - 22.12.2021 16:35

This video was super useful - thank you :)

Ответить
James Norton
James Norton - 22.12.2021 11:42

Thanks max you're awesome

Ответить