How to Implement Lazy Loading for Nested Routes in Dojo 2+?

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. :upside_down_face:

How can I dynamically load components for deeply nested routes only when they are accessed? :thinking:

Are there best practices / patterns within Dojo’s routing system for this?

How can I confirm smooth integration with state management & asynchronous module loading? :innocent: 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 ! :slightly_smiling_face: