I am developing a muti page app with Dash.
I have a landing page where a user can select one among a list of basic functions categories.
Each category means a new page.
In a single category, I would like to set up different pages with a common and shared upper layout where the user can select a subpage among a list of available pages.
This upper lyout would be a parent of different subpages, in other words.
But, having set page_container in the initial landing page, prevents to set up a container for the single category subpages under the - before mentioned - common and shared upper layout.
So, the qustion would be if did you ever experience the need of contain a page in a different location with respect to the position where page_container is initially set?
If yes, did you find a proper and feasible solution?
Yes, that’s the correct link for the docs. The idea would be to have one page with the parent info, then add more content to the parent page based on the path variable.
I ended up using the dynamic-components approach for a large application with numerous pages and a large number of shared elements (panels, graphs, tables). It turned out to work quite well
As the elements are shared between pages, and not redrawn, they (re-)load rapidly and are always in sync. The latter could be considered a bug or a feature, depending on your use case
I have already tried the ath variables alternative and it is working fine.
For now I have few subapges and components.
Thank you @Emil for your proposal. I will certainly look into it.
But, may I ask you where should I look for more examples using dynamic-components?
Do you have any to suggest?