this post was submitted on 07 Jul 2023
1665 points (97.0% liked)

Technology

59711 readers
2510 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
 

❤️‍🔥 🎇 It’s finally here! And it will live on my home screen just like Apollo used to do. 🔥 ❤️‍🔥

Just spreading this news in case you’re like me and late to the good news :)

you are viewing a single comment's thread
view the rest of the comments
[–] sgriff@lemmy.ml 2 points 1 year ago (1 children)
[–] mattes@lemmy.kussi.me 2 points 1 year ago (1 children)

It is react native, meaning it uses the same basic web technologies as wefwef. It’s just bundled up and distributed through the app stores rather than through your browser. I am not complaining though both WefWef and Memmy are absolutely awesome.

[–] sgriff@lemmy.ml 7 points 1 year ago* (last edited 1 year ago) (1 children)

It's not like electron or something. Sure metro works similarly to webpack, but it's not the same basic web technologies as wefwef. RN runs on threads on your device, a main thread, js thread and shadow thread. The js thread talks to the main thread through a bridge. React Native allows us to work and interface with native APIs with the device, while PWAs does not do that. PWAs don't do that on your phone, it's just like running on Safari really. While the code itself isn't "native" we end up with native components through the bridge. (If all of RN was just a webview then it would be more like how you're describing.)

The way RN works is fundamentally different than React, despite the syntax looking similar and RN being written in JS. It's not like its just React bundled up into a mobile app. I often wish they hadn't named it React Native for this reason, and for having to look up stuff and just getting React answers all the time lol. I am one of the Memmy devs and I am a React developer professionally. FYI this is not in any way a diss at wefwef for not being native, its super super impressive what they've done, I'm sure I could learn a lot about React from their code. Also sorry about the disjointed thoughts, I'm sure I repeated some stuff here or there lol. Hope this clarified a bit how RN works though.

[–] mattes@lemmy.kussi.me 4 points 1 year ago (1 children)

Thanks for the great and detailed reply! Tbh I really thought React Native was just using the webview… super embarassing for a dev of 12 years.

[–] sgriff@lemmy.ml 2 points 1 year ago

Glad it was helpful!