Our main application contains thousands of forms and components which makes initial load times very slow. This could be improved massively with a lazy loading option for client side packages.
I wouldn’t care if imports of unloaded packages fail during runtime, anyone using this feature would be responsible to air gap each package.
Something like that could be achived using dependencies. However I believe a monorepository has lots of advantages over the dependency approach. Especially if the team size grows and the way dependency mangament is currenlty implemented in anvil.
Some more thoughts on that here: