this post was submitted on 15 Aug 2023
528 points (89.2% liked)

Technology

59472 readers
3484 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] webjukebox@mujico.org 91 points 1 year ago (9 children)

And their desktop client technically is a browser without omnibar.

[–] kibiz0r@midwest.social 27 points 1 year ago (5 children)

Electron is not just a browser. It's more like a native app framework that just happens to use HTML and CSS to render UIs. You can do anything the OS lets you do, not just what a browser environment would let you do.

[–] OskarAxolotl@lemmy.world 24 points 1 year ago (4 children)

Electron is an unholy fusion of Chromium and Node.JS. Nothing more, nothing less. It doesn't 'just happen' to use HTML and CSS. It's literally just a browser with most of the default browser UI being hidden. Something like React Native would better fit your definition.

[–] kibiz0r@midwest.social 11 points 1 year ago

I'm on my lunch break from working on a React Native codebase, and I wouldn't say RN fits that definition at all... but I think we're just getting lost in semantics.

My point was just that a web app running inside a browser has to abide by the rules and limitations set by the browser, whereas Electron flips that relationship -- your app sets the rules and limitations of what can be done, and the web rendering process abides by whatever environment you create. You can do anything the OS permits. Even from inside a web context, if you want. You don't need a browser-managed sandbox to mediate your interactions with the OS.

load more comments (3 replies)
load more comments (3 replies)
load more comments (6 replies)