+ 1
I have An Angular Component called Menu And Another Is Home User When I come to home user via login the menu component wanted to
AngularJs problem I have An Angular Component called Menu And Another Is Home User When I come to home user via login the menu component wanted to be refresh bcz from starting it have a button of login signup but after login that having a name of logined user but it doesnt refresh the page after login Can Anyone help???
1 Antwort
+ 1
How are you keeping track of the login? A really good way is with a redux storeband rxjs. You can use observable streams from the store and have your components subscribe to them. In the view you would use an async pipe to handle the subscription and unsubscription and then it would just watch the store for any changes and update the view of the component accordingly.