Hi guys!
There any way to pass optional route parameters? Something like this...
'/users/:id?': User
Tks!
Afraid not, you have to explicitly declare the with and without routes:
{
'/users' : User,
'/users/:id' : User
}
@volnei Is this good to close now?
Yeap!! Thanks!!
Most helpful comment
Afraid not, you have to explicitly declare the with and without routes: