Hello
I am working on a Dojo 2+ application & want to optimize performance by implementing lazy loading for nested routes. While I have managed to set up basic lazy loading for primary routes using @dojo/routing; I am facing challenges in extending this to nested or child routes.
How can I dynamically load components for deeply nested routes only when they are accessed?
Are there best practices / patterns within Dojo’s routing system for this?
How can I confirm smooth integration with state management & asynchronous module loading? I have checked https://dojotoolkit.org/reference-guide/1.10/dojo/router.html/aws developer training documentation guide but still need help.
Any code examples ; documentation references would be greatly appreciated!
Thank you !