Routing without discharging old routes

11 views
Skip to first unread message

Luca Vercelli

unread,
Jan 12, 2021, 2:48:16 PM1/12/21
to Angular and AngularJS discussion

Hello.
I have the following situation. I have an Angular app with a number of components, say A, B, C.
I want that each of the components can be accessed by a different url, say /a /b /c.
I have a “menu” that allows the user to navigate to the three components, using routing.

Now, I also would like that, if the user navigate from /a to /b, and then he returns to /a, he will find the same things he had before. I don’t want to lose the status of component A.

Is this possible in some way?

Thank you.

Reply all
Reply to author
Forward
0 new messages