I’m running into an issue where I need to organize my application because of everything contained within. I originally wanted to go ahead with an MVC pattern, but having played around with it this just isn’t compatible with dash unless we rebuild a new app for every route (if you use a callback for routing, then you can’t compartmentalize your other callbacks since the code is running from inside a callback).
I can’t seem to break free from having to create everything and add all callbacks upfront, regardless of whether a user would even have access to something. Or create a different app for each route.
I surely must be missing something. What does everyone else do? Any help/inspiration would be great. Thanks!
Edit: currently looking into just using django with some dash integration.
I’ve built out a multi-page app for our planning needs which is great. I have multiple backup pages and multiple main pages. A few things to keep in mind though, make sure that callbacks only reference outputs once. I get tripped up by that sometimes. For common components between pages I can get away with only having one callback with that component as an output.