3 ms·
I can't believe NextJS still doesn't have named routes, resorting to hacks like next-routes or next-named-routes to have a semblance of sanity managing links th
by sergiomattei 6y ago
I can't believe NextJS still doesn't have named routes, resorting to hacks like next-routes or next-named-routes to have a semblance of sanity managing links throughout larger apps.
Also, doing things like /@[username] is still a huge hack, unsupported.
- deleted 6y ago[deleted]
- ihuman 6y agoIt looks like both of those packages are used for creating dynamic routes with named parameters. Nextjs supports this already. Is that what you meant by "named routes", or is that something different? https://nextjs.org/docs/routing/dynamic-routes https://nextjs.org/docs/routing/dynamic-routes