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
We would like to add type definitions to @redwoodjs/router instead of converting it to typescript. Once the types are added we can look into converting the package, but this gives us a quick path forward.
I'm using a combination of the documentation and the code to inform the types. It would be great to include as much documentation and examples in the type definitions as possible.
NOTE A dynamic list of "named routes" is created when the <Router> is instantiated. These are referenced in a bunch of the components and the route.namedRoute() function.
We currently have a babel-plugin that deals with a bunch of dynamic route functionality that we would like to use to generate these dynamic routes.
The text was updated successfully, but these errors were encountered:
We would like to add type definitions to
@redwoodjs/router
instead of converting it to typescript. Once the types are added we can look into converting the package, but this gives us a quick path forward.I'm using a combination of the documentation and the code to inform the types. It would be great to include as much documentation and examples in the type definitions as possible.
Components
hooks
Functions
NOTE A dynamic list of "named routes" is created when the
<Router>
is instantiated. These are referenced in a bunch of the components and theroute.namedRoute()
function.We currently have a babel-plugin that deals with a bunch of dynamic route functionality that we would like to use to generate these dynamic routes.
The text was updated successfully, but these errors were encountered: