Parrot
Parrot copied to clipboard
Accessing the section of the route
There is a clear API for setting and getting route parameters, however, I do not see a way to reactively obtain the section of the route...
This is handy for example when I have a navbar and I want to tell it which section is being viewed in order to highlight that menu item. This is possible also with parameters, but results in duplicate information, and URLS like:
http://test.com/#home/currentPage=home