make FlowRouter.go accept route namesSee original GitHub issue
I think it would be a good idea if
FlowRouter.go could accept route names as well as route paths.
Using route names makes sure your code doesn’t break when you change the route path.
- Created 8 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
you should add it on the doc (I read the github doc and I never saw that), that’s a pity because I never appreciated put url instead of route name, it’s really not proper as the url are not always definitive.
+1 for making the doc for this. Thank you!