Web is an awesome platform. Let's explore it together.
Web & mobile developer, @Auth0Ambassador. Follow me for content on JavaScript, Angular, React, Ionic & Capacitor, Progressive web apps & UI/UX.
Hi Elliot,
You are right. You can use the Webpack import feature on Angular 9+.
I included a link at the end of this blog to the Netanel Basal article which teaches that technique.
In my case, lazy loading was one of the requirements.
I needed bookmarking through URL as well.
This is where the Angular router naturally handles the state for me with the URL being passed.
I can also pass extra query params as well.
Abhay
Hi Parham
Why there is need to use Auxiliary Routes? when we can do the same things by lazy-load the necessary components as supprted by Angular 9 onwards.