CanDeaactivate guard for a presentaional component

23 views
Skip to first unread message

Rahul Aggarwal

unread,
Mar 4, 2021, 10:58:07 AM3/4/21
to Angular and AngularJS discussion
Hello,

I am trying to implement a deaactivaation guard for a presentational component. The issue is that when I elect to not leave the component, the changes done in the component are lost as the presentational component's onInit gets called. How do I handle this situation?

Thanks
Rahul 
Reply all
Reply to author
Forward
0 new messages