Yeah, having to pass around the app object makes the architecture more challenging for sure. This is some related discussion about this general topic over at https://github.com/plotly/dash/issues/637.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Best choice to work with multi-pages or layouts etc | 2 | 191 | November 15, 2024 | |
| Splitting callback definitions in multiple files | 7 | 15337 | September 15, 2020 | |
| How do you structure larger applications? | 3 | 1870 | January 26, 2022 | |
| Structure complex multipage app and separate callbacks and components | 0 | 407 | April 14, 2023 | |
| Dash callback in a separate file | 24 | 31672 | October 17, 2024 |