3 ms·
`confirm()`, `alert()`, `prompt()` and similar are widely regarded as mistakes. Including them on your new Electron app isn't something you should be doing in t
by hajile 8y ago
`confirm()`, `alert()`, `prompt()` and similar are widely regarded as mistakes. Including them on your new Electron app isn't something you should be doing in the first place.
- dchest 8y agoIndeed: https://developers.google.com/web/updates/2017/03/dialogs-policy https://developers.google.com/web/updates/2017/03/dialogs-po... Electron has native dialog APIs: https://electronjs.org/docs/api/dialog https://electronjs.org/docs/api/dialog