You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Many complex webapps have a need for type-safety at the route level. It'd be great if Orbitkit offered a solution for type-safe routing.
Describe the solution you'd like
There's a few off-the-shelf packages that could be incorporated to Orbitkit to solve this: nextjs-routes is one I am aware of: https://github.com/tatethurston/nextjs-routes
Describe alternatives you've considered
Alternative could be to roll your own typesafe routing solution, but that's probably out of scope for this project.
Additional context
Would likely want something compatible with both app and pages based routes.
typed routes don't work with --turbo for dev, which makes it out of the choices.
There are many custom built solutions out there, as well as 3rd party packages that enable this feature. However, most of them rely on some sort of a build step to achieve this type-safety, it needs a bit of digging but should be something that we can add to orbitkit.
Is your feature request related to a problem? Please describe.
Many complex webapps have a need for type-safety at the route level. It'd be great if Orbitkit offered a solution for type-safe routing.
Describe the solution you'd like
There's a few off-the-shelf packages that could be incorporated to Orbitkit to solve this:
nextjs-routes
is one I am aware of: https://github.com/tatethurston/nextjs-routesDescribe alternatives you've considered
Alternative could be to roll your own typesafe routing solution, but that's probably out of scope for this project.
Additional context
Would likely want something compatible with both app and pages based routes.
There is the
nextjs.config.ts
experimental typed routes that we could explore.The text was updated successfully, but these errors were encountered: