this post was submitted on 07 Jul 2023
1712 points (99.9% liked)
Technology
59440 readers
3572 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- 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
view the rest of the comments
WefWef UI is great, just wish it wasn’t a web app
Honestly it’s hard to tell. Even on my old iPhone X it’s pretty seamless. I wish Apple and Android would give PWA apps more feature support overall tbh.
It’s definitely not as responsive and has a slightly laggy feel to it. I mean it looks and runs great for a webapp. But it just isn’t as good as a native app.
It’s the push notifications I’m missing most
It’s hard to tell until suddenly your phone is out of battery.
Oh PWAs take more battery?
Memmy is just a webapp with extra steps though.
The extra step is that it doesn’t run through Safari.
It's literally not lol
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.
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.
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.
Glad it was helpful!