-
⚡ Angular — Protect your unsaved data
Have you ever filled a form and mistakenly closed that tab or went back without completing the process and lost all those data? Prevent your users from experiencing the same. Angular provides CanDeactivate route guard, which prevent navigating from one route to another, unless the given condition becomes truthy. Imagine a simple dashboard, having a form which helps…