Skip to content

Commit

Permalink
docs: add mention of paramsInheritanceStrategy in the router doc (#51051
Browse files Browse the repository at this point in the history
)

`paramsInheritanceStrategy` might be usefull in combination of `withComponentInputBinding`.

PR Close #51051
  • Loading branch information
JeanMeche authored and thePunderWoman committed Jul 17, 2023
1 parent 0e8ca7b commit 0623158
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aio/content/guide/router.md
Expand Up @@ -135,7 +135,9 @@ To get information from a route:

**NOTE:** <br>
You can bind all route data with key, value pairs to component inputs: static or resolved route data, path parameters, matrix parameters, and query parameters.

<br>
If you want to use the parent components route info you will need to set the router {@link paramsInheritanceStrategy} option:
`withRouterConfig({paramsInheritanceStrategy: 'always'})`
</div>

<a id="wildcard-route-how-to"></a>
Expand Down

0 comments on commit 0623158

Please sign in to comment.