Live data from Hacker News

Discord Switching to React Native for Android App

discord.com

11–20 of 82 posts

Re: Discord Switching to React Native for Android App

#11

I hope desktop apps can soon start switching from Electron to React Native.

I'm skeptical that this makes business sense for most companies. Most electron apps feel like they're just checking off a box, rather than crafting any sort of quality desktop experience. If you don't care, why not just slap your website in a webview? Way easier than trying to hire or train developers in a niche technology.

Re: Discord Switching to React Native for Android App

#16

Oh 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

Re: Discord Switching to React Native for Android App

#17

I thought Discord is mostly webview-powered, is it not? If so, this change will make very little difference to the user.

react native =/= electron (and similar frameworks like CEF). The former uses native widgets. The latter uses HTML/CSS rendered by a browser layout engine.

Re: Discord Switching to React Native for Android App

#18

I hope desktop apps can soon start switching from Electron to React Native.

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.

Re: Discord Switching to React Native for Android App

#20

That’s good. Having one app be RN and one native is probably the worst thing you can do. That said, seems like Android users really dislike this update as the app seems slower, buggier and less polished than it used to be.

A better choice would have been to port their RN-app on iOS to an actual native iOS-app.
Post reply on HN