diff --git a/contributors.yml b/contributors.yml index c0d5329453..e90dfa73cb 100644 --- a/contributors.yml +++ b/contributors.yml @@ -200,3 +200,4 @@ - yionr - yuleicul - zheng-chuang +- kno-raziel diff --git a/docs/start/concepts.md b/docs/start/concepts.md index 8e78067ca9..1bece8fcfc 100644 --- a/docs/start/concepts.md +++ b/docs/start/concepts.md @@ -664,9 +664,7 @@ And the resulting element tree rendered will be: ``` - -Don't forget to add an `` to your layout where you would like child route elements to be rendered. Using `children` will not work as expected. - +Don't forget to add an `` to your layout where you would like child route elements to be rendered. Using `{children}` will not work as expected. The `PageLayout` route is admittedly weird. We call it a [layout route](#layout-route) because it doesn't participate in the matching at all (though its children do). It only exists to make wrapping multiple child routes in the same layout simpler. If we didn't allow this then you'd have to handle layouts in two different ways: sometimes your routes do it for you, sometimes you do it manually with lots of layout component repetition throughout your app: