How do I build a URL from knowledge the Router has of all my routes? #569
-
I come from a land of ASP.NET Core. Having fun learning a completely new stack. I'm used to being able to: a) name a route "orders" An example of (d) might be to pass a Can I do something like this in oak?? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I am fortunately working with a React developer today! Between us, we've found the Here's the help for it:
Here's it in use in context:
|
Beta Was this translation helpful? Give feedback.
I am fortunately working with a React developer today!
Between us, we've found the
.url(routeName, ...)
method on theRouter
instance and that does exactly what I need!Here's the help for it:
Here's it in use in context: