React Native Feb 14, 2017

Using Native Driver For Animated

Article Summary

Your React Native animations are probably running on the wrong thread. Here's how one config flag can eliminate frame drops when JavaScript gets blocked.

React Native's Animated library got a major performance upgrade through the Native Driver, a community effort led by developers from Expo, li.st, and the React Native core team. This technical deep dive explains how animations can now run entirely on the native UI thread instead of JavaScript.

Key Takeaways

Critical Insight

By moving animation execution from JavaScript to native threads, React Native animations can run smoothly even when JS is blocked.

The serialization approach that makes this possible reveals an elegant pattern for offloading other performance-critical work to native.

Recent from React Native

Related Articles