Remix.run Logo
teddyh 5 hours ago

I know nothing about any of these APIs, but the claim of the article seems weird. If naitive APIs are insufficient, or slow, or unsuitable, and implementing your own is too hard, then how does Electron even do what it does? One would assume that Electron has its own library to accomplish the task, in which case this code could either be separated, or re-created once and for all, into its own re-usable library.

fassssst 3 hours ago | parent | next [-]

Chromium has had an insane amount of investment from many large companies. Way more than native UI frameworks have had over the last decade or so.

jeremyjh 5 hours ago | parent | prev | next [-]

> I know nothing about any of these APIs

Agreed. In Chromium all the content from HTML is rendered inside a single object from the point of view of the host UI; much like a game engine’s UI rendering. Chromium draws everything itself. Host events like mouse and keyboard events are sent to that top level object (although there are some shenanigans involved to make it look more native to accessibility tools).

tantalor 5 hours ago | parent | prev [-]

Electron is just a thin shell around Chromium