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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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?