,

The Conclusion of React Router

Posted by

The End of React Router

The End of React Router

React Router, a popular library for routing in React applications, has long been a go-to solution for managing navigation and routing in single-page applications. However, with the release of React 17, it seems that the end may be near for React Router as we know it.

Changes in React 17

One of the key changes in React 17 is the introduction of automatic component and props updates. This means that React will automatically update components based on changes to their props, eliminating the need for manual updates using methods like componentWillReceiveProps.

The Future of Routing in React

With these changes in React 17, some developers have started to question the need for a separate routing library like React Router. The automatic updates in React make it possible to handle routing logic directly in components, without the need for an external routing library.

Alternatives to React Router

There are already some alternatives to React Router that take advantage of the new features in React 17. For example, some developers have started using the useContext and useReducer hooks to manage routing in their applications. This approach is more lightweight and avoids the need for a separate routing library.

Conclusion

While React Router has been a popular choice for managing routing in React applications, the changes in React 17 may signal the end of its dominance. As developers explore new ways to handle routing in React, it will be interesting to see what the future holds for routing in the React ecosystem.

0 0 votes
Article Rating
44 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
@lostinthenarrativve
7 months ago

why are you so annoying

@igorsantos07
7 months ago

ugh, what a clickbait

@ThomasBurleson
7 months ago

Peace Nerds. LMAO. Love your vidoes. Like sucking on a firehose.

@GavinusMaximusMaster
7 months ago

Didn't you make a video a year ago about Tanstack saying it was the end of React Router?

@nou4605
7 months ago

This is why I am a back end dev

@maduemeka6982
7 months ago

Very smart man 🎉🎉🎉

@vorche_
7 months ago

ay the clickbaits are strong

@yhzh755
7 months ago

How about Rspack?

@bhanusharma2363
7 months ago

War of bundlers??

@jamesking2439
7 months ago

I have never understood the need for routing and state management libraries. Those have always been easy to write by hand and have been a minuscule fraction of my projects. I feel like I'm taking crazy pills.

@doc8527
7 months ago

TLDR:

Next version of "React Router" may or may not merge/flow into "Remix Router", hence the install package naming might change for the end users (devs), depending on the decision.

If you are so panic with your comment, you just don't watch the first 1min of the video. Well, as least you know the news because of the clickbait, better than later panic about why React Router never got updated (if they change to remix router), and asked some random questions in github repo or reddit or twitter or whatever, and blame the maintainers.

@S4ntia60
7 months ago

it is so relieving that i don't know any of what this video is about

@dumbfailurekms
7 months ago

why u always make face like u gonna cry fuck off

@CottidaeSEA
7 months ago

JavaScript. I love it.

@igrb
7 months ago

Damn
axiom will be on remix at some point then
didn't see it coming

@DevLife717
7 months ago

Web dev is a hot mess! It all needs to be razed to the ground and started anew. HTML, CSS and JavaScript needs to be dumped. Replaced with what I don’t know maybe something grounded in web assembly but this video is proof to me that it all needs a major overhaul. Otherwise this churn is just going to get worse.

@user-be3cd4cx3o
7 months ago

Googles "what's a bundler"

@shichimenchoo
7 months ago

Bro please cut your mustache. You look much better without it. (Respectfully, not criticizing)

@mamurdadkhan9068
7 months ago

Fuck, I just learned it and you telling me it is dead?!?

@Shocker99
7 months ago

You don't seem to be a nice person.
I'm sure you'll make it big on YouTube without being dog water.