next-routes icon indicating copy to clipboard operation
next-routes copied to clipboard

Is this library alive?

Open GMaiolo opened this issue 5 years ago • 22 comments

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 avatar Feb 21 '20 14:02 GMaiolo

@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

irhamputra avatar Feb 25 '20 22:02 irhamputra

Not completely https://github.com/fridays/next-routes/issues/329

joaogarin avatar Mar 08 '20 17:03 joaogarin

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.

ost-ing avatar Mar 23 '20 16:03 ost-ing

🚧 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 :)

rfm-bot avatar Apr 28 '20 06:04 rfm-bot

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 ?

msreekm avatar Jun 18 '20 05:06 msreekm

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.

Judahmeek avatar Jun 21 '20 02:06 Judahmeek

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).

joaogarin avatar Jun 30 '20 12:06 joaogarin

https://github.com/fridays/next-routes/issues/244#issuecomment-564069911

kenberkeley avatar Jul 04 '20 02:07 kenberkeley

@kenberkeley still radio silence though, and no updates to the library since June 29, 2018

Ping @Timer!

GMaiolo avatar Jul 08 '20 17:07 GMaiolo

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.

msreekm avatar Jul 16 '20 18:07 msreekm

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?

andreasblueher avatar Nov 28 '20 21:11 andreasblueher

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.

ost-ing avatar Nov 28 '20 21:11 ost-ing

Thanks for pointing that out @ostenning

andreasblueher avatar Nov 28 '20 21:11 andreasblueher

I have already started migrating to next routing.

msreekm avatar Nov 29 '20 02:11 msreekm

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 avatar May 23 '21 04:05 meabed

@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.

albertvolkman avatar May 24 '21 18:05 albertvolkman

@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.

meabed avatar May 24 '21 18:05 meabed

@albertvolkman is fixed and pushed! I am adding an example folder with different use-cases later today!

meabed avatar May 24 '21 20:05 meabed

@meabed thank you to take over. Do you plan to make it compatible with Next built-in i18n routing?

cvolant avatar Jun 09 '21 09:06 cvolant

@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!

meabed avatar Jun 09 '21 12:06 meabed

Great! And do you think it will support getStaticProps? Like:

MyPage.getStaticProps(({ locale }) => {
  [...]
})

cvolant avatar Jun 11 '21 09:06 cvolant

Could we move the convo about the fork to the fork? Seems proper

GMaiolo avatar Jun 11 '21 15:06 GMaiolo