Smart/Presentational component candeactivate Guard

19 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 the can deactivate guard for the presentational component. When the guard calls and I elect to stay on the component the presentational components onInit gets fired and all the changes are lost. How can I get around this?

Thanks
Rahul
Reply all
Reply to author
Forward
0 new messages