React Native Jan 18, 2018

Implementing Twitter's App Loading Animation In React Native

Article Summary

Ever wonder how Twitter's delightful logo-to-app loading animation actually works? Eli White reverse-engineered it and the solution is counterintuitive.

This React Native tutorial breaks down Twitter's iOS app loading animation where the bird logo expands to reveal the app underneath. White walks through the wrong assumptions developers typically make, then explains the layering trick that makes it work using MaskedViewIOS and the Animated API.

Key Takeaways

Critical Insight

The key insight is using the logo as a mask for multiple layers rather than treating it as a transparent overlay, all driven by native animations for jank-free performance.

The interactive CodePen visualization showing the layer separation in 3D is worth exploring, plus there's a challenge to make it work on tablets.

Recent from React Native

Related Articles