Commit b0a6956
committed
Add
Adding `href` to the router state object gives access to the
`$state.href` function in React code. This allows the creation
of urls for states, which is critical when a component links to
another part of the app and should be crawlable by a crawler.href property to the router state object1 parent e202148 commit b0a6956
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
0 commit comments