Routing lets you hide url variable names from the user. HashRouter doesn't require routing, so some, all, or no variables can be hidden.
Your href tags can also choose to use routes or not. Even if your site uses routes, you can choose to not use them in your links. We've found this makes it easier to read the links when editing. When specifying hrefs without routes, you can specify the links in any order, but routes have to be specified in route order.
These links all point at the same place, but are written with different amounts of routing. HashRouter automatically updates the href after page load, so the link text shows the original href. You can also use Firebug or some other network monitoring tool and look at the loaded html to see the original.
When writing links, you don't have to specify all of the values, only the one you want to update. Other values are automatically inserted by HashRouter, including optional default values.
Has Route | Has Route | No Route |
---|---|---|