We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b2a1b2 + bc45b6d commit 63bdab2Copy full SHA for 63bdab2
README.md
@@ -65,6 +65,18 @@ way down the view hierarchy. This allows you to create nested layouts
65
without having to wire it all up yourself. `Link` components create
66
accessible anchor tags to route you around the application.
67
68
+As an example, if the current path is `/user/17`, the following
69
+component will be rendered:
70
+
71
+```js
72
+<App activeRoute={
73
+ <Users activeRoute={<User params={{userId: 17}} />} />
74
+} />
75
+```
76
77
+Each component will also receive a `query` prop equal to a dictionary
78
+of the current query params.
79
80
Here's the rest of the application:
81
82
```js
0 commit comments