Named routes
Hi, does Refine.dev support named routes?
e.g. if I create a custom route, not related to any resource (so I cannot use "show", "edit" ... etc), can I assign a name to it and use something like push([myname], [myparameter]) instead of ([full path])
e.g.
route is
<Route path="/admin/stuff/:id/custom" element={<Custom />} />
Instead of doing
push("/admin/stuff/5/custom" )
I would like to do
push("custom", 5)
of course adding the name to the route or something similar
e.g. <Route path="/admin/stuff/:id/custom" name="custom" element={<Custom />} />
it would be really helpful in case or site URLs structure change
Thanks
e.g. if I create a custom route, not related to any resource (so I cannot use "show", "edit" ... etc), can I assign a name to it and use something like push([myname], [myparameter]) instead of ([full path])
e.g.
route is
<Route path="/admin/stuff/:id/custom" element={<Custom />} />
Instead of doing
push("/admin/stuff/5/custom" )
I would like to do
push("custom", 5)
of course adding the name to the route or something similar
e.g. <Route path="/admin/stuff/:id/custom" name="custom" element={<Custom />} />
it would be really helpful in case or site URLs structure change
Thanks
