next-routes
next-routes copied to clipboard
Is this library alive?
There have been a lot of changes in NextJS router and other core functionalities and it seems that this library hasn't been updated for more than 2 years now
@GMaiolo i think so but luckily this lib is still compatible with next v9. I've been using this start from last week it is still working right now. idk after next.js team release new major version
Not completely https://github.com/fridays/next-routes/issues/329
Considering the number of people that probably use this library, the maintainer/owner of next-routes should update the README informing people that its not longer being actively maintained.
I will be removing it from my project now.
🚧 Is this repo looking for support? Hello, we created this issue becuase the user @sospedra told us you are calling for maintainers. ✅ If you're looking for collaborators no action is required. 👮🏻♂️ If this repo is well-supported please put a comment here https://github.com/sospedra/rfm/issues/52 and we'll close it immediately. Sorry for any inconvinience. We understand this message can feel spammy but we really think is good to double-check first with the current owners :)
Assuming that this library is kind of abandoned at this point, Is there an alternate library for routing with next.js, if someone do not want to use file based routing ?
Anyone got a guide for removing this library?
I took over a project using this library & my attempt to remove it resulted in Cannot GET errors from all routes. You'd think I had deleted the pages directory or something.
Unfortunately the problem is that next doesnt have certain features in order to really remove the library. Custom routes in nextjs will help (and maybe enough for certain use cases) but there is no fully dynamic route solution like this library provides (if you have for example routes coming from a CMS).
https://github.com/fridays/next-routes/issues/244#issuecomment-564069911
@kenberkeley still radio silence though, and no updates to the library since June 29, 2018
Ping @Timer!
From what I have seen so far , the next,js project priorities are set for based on what is required for vercel platform and not necessarily based on the needs of the community. in this case ,this may be a low priority for vercel.
The last commit to github! by the owner was in may 2019. It seems he has not abandoned this library, but rather github in general. What about some contributers here? Someone who would take over? is that even possible?
This library shouldn’t be used anymore. Use the inbuilt nextjs routing
On 28. Nov 2020, at 22:04, Andi [email protected] wrote:
The last commit to github! by the owner was in may 2019. It seems he has not abandoned this library, but rather github in general. What about some contributers here? Someone who would take over? is that even possible?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Thanks for pointing that out @ostenning
I have already started migrating to next routing.
I have just forked the repo and updated it to latest versions with the correct types, all test are passing 🟢 👍 https://github.com/meabed/next-routes-extended https://www.npmjs.com/package/next-routes-extended
@meabed
I think you have an issue here- https://github.com/meabed/next-routes-extended/blob/master/package.json#L39
When trying to install your package, I get an error Invalid tag name "=>15.4.2": Tags may not have any characters that encodeURIComponent encodes.
@meabed
I think you have an issue here- https://github.com/meabed/next-routes-extended/blob/master/package.json#L39
When trying to install your package, I get an error
Invalid tag name "=>15.4.2": Tags may not have any characters that encodeURIComponent encodes.
Oops 🙊 you are right, I'll fix this right away and release it. I'm also planning to add more examples, we are using this routes extensively in a lot of different use cases and I think it will be helpful to share them as well.
@albertvolkman is fixed and pushed! I am adding an example folder with different use-cases later today!
@meabed thank you to take over. Do you plan to make it compatible with Next built-in i18n routing?
@meabed thank you to take over. Do you plan to make it compatible with Next built-in i18n routing?
Yes - absolutely - I am adding and example code-sanebox with all use cases, i use it already multi-lingual and works well! I will share different complete working solution with codesanbox, if you have something specific let me know. Thank you!
Great! And do you think it will support getStaticProps? Like:
MyPage.getStaticProps(({ locale }) => {
[...]
})
Could we move the convo about the fork to the fork? Seems proper