-
Notifications
You must be signed in to change notification settings - Fork 27.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for params in routing #1058
Comments
First of all, thank you very much for your feedback 👍 😄 @fridays made an excellent package for routing using next.js which will most likely suite your needs https://github.com/fridays/next-routes. |
I have read every ones of these issues, and I am fully aware of fridays great work with next-routes. Thus I'm slightly disappointed that it immediately gets closed. |
@bassbump I'm not trying to upset / disappoint you in any way, it's just that this has been discussed many times and in the end we came up with the programmatic api as a solution to fit everyone's application needs. |
@bassbump your voice was definitely heard. This is something we'll keep in mind for future releases or improvements to demos, examples, or documentations. Thanks for taking the time |
@bassbump custom routing is a pretty cool solution. With out current solution, you could basically use express as a way to define your routes with params. (And any other node server side router) Here what we providing is a meta routing API. (That's our goal for 2.0) Others have experimented different routing and they are pretty good. I also have some cool idea I'll try it out soon. So, that's a benefit of our meta API. If we figure this out, we'll make one of these as the official recommended way in a future release.
We've seen similar ideas. Thanks. It's really great and we love it. |
BTW: You can do this in nuxt already... just sayin' |
I absolutely love Next and how it provides basic features without the boilerplate that comes with it in a vanilla react app; like server side rendering, webpack, etc..
I get that the creators want to keep its features as "minimal" as possible, but I feel that sometimes really obvious features are skipped too fast.
Parameters in routes is something that pretty much every app needs. If you check the issues it's pretty much the most common asked question. Even though the creators stated their view clearly on this subject multiple times, I still want to publicly voice my opinion that I think it would be greatly beneficial for Next.js that these kind of 99%-of-apps features are "automagically" baked into Next.
If you provide routes as a feature in Next, I feel it kind of makes sense that it support params out of the box.
If we are going to have to create custom packages for all such basic features, it will be just as bad as a vanilla react boilerplate after a while.
The text was updated successfully, but these errors were encountered: