2 ms·
Discord's iOS and Android apps are built using React Native [1]. This enables business logic to be shared with the desktop and web clients, as well as shared UI
by chromakode 3y ago
Discord's iOS and Android apps are built using React Native [1]. This enables business logic to be shared with the desktop and web clients, as well as shared UI components between both mobile apps.
Part of the reason you see abandoned repos is because the community has adopted libraries like Reanimated, React Native Gesture Handler, and React Navigation, which offer a lot of leverage to implement ambitious animations and native experiences in JS/TS.
React Native is mature enough to build big apps, and the community is active. It's still necessary to reach into Swift/Kotlin to implement some things, but for large apps that's not an unexpected lift. For cross platform JS/TS apps, no alternative offers the code sharing and delivery flexibility advantages of RN. I expect it'll remain relevant due to it's unique
advantages and the community library stack will continue to mature.
[1] https://discord.com/blog/android-react-native-framework-update https://discord.com/blog/android-react-native-framework-upda...
- toastercat 3y agoI uninstalled Discord when they transitioned the Android version to the React Native version. It was such a drop in performance and stability, it was unbearable. Less distractions on my phone at least!
- tomduncalf 3y agoThe Discord app is a bit janky though, it’s not too bad but text entry is weird on iOS in ways that I can’t quite recall but are definitely non-standard. I did work with RN for several years though and I do still think it can be a great choice.