4 ms·
I think a legitimate use-case is asking for confirmation before leaving the page when filling out a form so that the user doesn't loose their data.
by ma2rten 5y ago
I think a legitimate use-case is asking for confirmation before leaving the page when filling out a form so that the user doesn't loose their data.
- chopin 5y agoBut this can be achieved with other means. I have exactly this on my SPA.