How Discord achieves native iOS performance with React Native

Posted on Nov 29, 2019

This is a must read for everybody who is building modern SPA’s! Keeping a stable framerate of 60FPS does so much for user experience.

However, towards the beginning of the year we started to notice that the app had appeared to have degraded across several vectors (frame drops, battery drain, time to interaction, etc) and it was unclear why. When we originally built the app in 2015 it performed quite well on an iPhone 5s, which served as our baseline model. Now in 2019, the app was nearly un-usable on the four year old iPhone 6s. What happened? Even when using a top end iPhone XS, the app could not maintain 60 FPS in normal usage, provide smooth gestures, and had a noticeable impact on battery life.

https://blog.discordapp.com/how-discord-achieves-native-ios-performance-with-react-native-390c84dcd502