Re:Qt for WebAssembly
by dchest on Wednesday June 20, 2018 @05:24AM
(#17353753)
Nice table, which shows that you are free to use <dialog> and many other modern features to write your Electron app:
[ Parent
| on HN ]
Re:Qt for WebAssembly
by singularity2001 on Wednesday June 20, 2018 @11:28AM
(#17356286)
Electron… fair point! Except we were comparing new web GUIs.
On the flip side Electron explicitly does not impliment confirm() and prompt() which made me furious.
So there is definitely truth in the general js=cluster-fuck sentiment.
`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.
Indeed:
https://developers.google.com/web/updates/2017/03/dialogs-po...
Electron has native dialog APIs: https://electronjs.org/docs/api/dialog