Now that I was implementing it, one thing I prefer to do is instead of having a dedicated file for…
Ricardo Alexandre Marramaque
1

Thanks for the feedback.

At first I tried to put everything in the same routes file.
But it turned out to be a problem of circular dependency -

For example — If I want to use a route’s name inside a component (Let’s say for using as a `routerLink` value) — now if my routes file import this component, and the component import that routes file…

Try that and see what happens 😮 (but backup your HD first 😃)