-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Copied from deprecate/metal-router#14 by @AngeloYoun
It is a common use case where a site structure needs to have nested routing.
Currently, only the top level URL routes can be routed via metal-router. It would be useful to be able to do something along the lines of:
<Router component={SomeComponent} path={some/path/:param1} />
...
class SomeComponent extends JSXComponent {
render() {
return {
<div class="wrapper">
<HeaderComponent />
<Router component={FooComponent} path={some/path/:param1/view1} />
<Router component={BarComponent} path={some/path/:param1/view2} />
</div>
}
}
}
Metadata
Metadata
Assignees
Labels
No labels