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.
1 parent ed268eb commit d8a45d8Copy full SHA for d8a45d8
docs/index.md
@@ -178,6 +178,17 @@ properties which will be called before and after navigation correspondingly:
178
...
179
</Locations>
180
181
+## Custom / No Router Component
182
+
183
+Routers also accept a `component` prop, so you can change the rendered parent component:
184
185
+ <Locations component="section">...
186
187
+You can also remove the wrapper entirely by passing a falsy value. This will render the matching
188
+route directly without wrapping.
189
190
+ <Locations component={null}>....
191
192
## Advanced usage
193
194
Advanced features include support for [full page server
0 commit comments