TLDR Dev · MISCELLANEOUS

HOW MARGELO HELPED DISCORD IMPROVE REACT NATIVE'S NEW ARCHITECTURE PERFORMANCE

blog.margelo.com16 min read

Summary from the TLDR Dev newsletter

Discord's janky Android animations on React Native's New Architecture came from Reanimated cloning hundreds of Shadow Tree nodes per frame. The fix was to sync settled animations back to React so those nodes could be evicted, which then made it safe to restore a synchronous fast path for non-layout props. The changes cut Discord's jank frame rate by 26% and are shipping upstream as a “shared animation backend” in React Native 0.85.