How to define routes in child components which are Data API compatible #8003
Unanswered
jdimmerman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an application in which, in some cases, routes are defined dynamically by child (or great-great grandchild) components based on configuration. Something like a questionnaire wizard where the questionnaires are defined by configuration. Currently, the child component renders a nested set of
<Routes>
and<Route>
elements. While this is supported in v6, they are not compatible with the data API paradigm.Is there a way, in v6, to declare routes in child components dynamically while still working within the Data API framework?
This discussion suggests that this is not possible.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions