Earlier quoted context omitted.
There is still a _desperate_ need for a widely used common standard for GUI; I'd even be OK with that happening to be 'things are webpages' if they were OS native and would otherwise behave similarly to native apps on every platform. That HTML5 desktop or even Postscript would be nice; anything as long as it's a real standard already installed and kept up to date on 99% of potential user's systems.
> as long as it's a real standard already installed and kept up to date on 99% of potential user's systems. Unfortunately, by far the closest thing we have to this is Google Chrome.
Discord Switching to React Native for Android App
61–70 of 82 posts
Re: Discord Switching to React Native for Android App
#62I hope desktop apps can soon start switching from Electron to React Native.
Re: Discord Switching to React Native for Android App
#63I wonder if they considered Flutter as well, but their website is probably written in React so it makes sense to use RN as well to share relevant code.
Re: Discord Switching to React Native for Android App
#64Here's my experience with react native: - There were very little opportunities for sharing functionality between web and mobile. The standard react architecture is code-behind, and you can't share components between react and react native. - Time-consuming to update to new versions, especially on the IOS side of things. A constant avalanche of errors from the very convoluted cocoapods build system, with stack traces…
I will say, I don't think sharing code between web and mobile was ever supposed to be a key advantage. As you say, there may be some small opportunities for that, but the real benefits are a) sharing code between the two mobile platforms, and b) sharing skillsets between web and mobile
Re: Discord Switching to React Native for Android App
#65I hate a lot of Electron and React Native based software, but Discord manages to avoid performance, stability, and quality issues that most seem to encounter. I don't know what they do or how they do it, but I think it's very impressive.
Re: Discord Switching to React Native for Android App
#66Earlier quoted context omitted.
We used it a lot over the pandemic and random crashes and having to restart because it started using way too many system resources was extremely common. Nobody left it open when not in active use, because it was such a resource hog. Using it on battery would take a macbook from full to 0% in like two hours flat. This was with a couple very small private groups only, no use of large public channels or anything.
Strange, I've never had that happen and I've used discord for years. A good portion of that time was spent using it on my 2015 MacBook Pro.
Re: Discord Switching to React Native for Android App
#67If it reaches the performance of the already RN iOS app, then it’s a win. I’m still rocking an iPhone 6s, on which Discord is buttery-smooth. If only the Slack app could do the same…
Re: Discord Switching to React Native for Android App
#68Earlier quoted context omitted.
On the desktop I don't think there's much value in it. Electron is much more compatible with the web, requires less platform specific work, and doesn't really come at a significant performance or UX cost.
Electron doesn't really come at a significant performance cost? I wonder why Rockstar or Bethesda don't just use electron for their games.
Re: Discord Switching to React Native for Android App
#69I hate a lot of Electron and React Native based software, but Discord manages to avoid performance, stability, and quality issues that most seem to encounter. I don't know what they do or how they do it, but I think it's very impressive.
Re: Discord Switching to React Native for Android App
#70Oh this makes me nervous. Discord on android is slow and bloated and occasionally memory leaky. I have a tasker routine to restart it nightly... If the app gets any laggier or slower I will probably have to abandon it...
Their reason for switching to react native is to address these issues
Moving from native to react native will almost certainly be slower (unless something in their native app is just very broken).