WhoBuilt

React Native Paper With Truly Native-looking Animations

Feb 26, 2021· 3 min· 922 views·Watch on YouTube

An unnamed Callstack speaker explains how React Native Paper implements native-looking animations, with a host asking about performance and Material Design specifications.

Animations use React Native Animated

The host asks how Paper handles animations and gestures that should feel native. The speaker says its first version used React Native Core's Animated library because that was the available option.

Native-thread performance

The speaker says most Paper animations, possibly all but one or two, run on the native thread. They describe the performance as good and the motion as smooth. The team considered migrating to Reanimated but decided it would not bring significant performance gains.

Material Design specifications and reverse engineering

The host asks whether the team had to guess animation values or could follow a specification. The speaker points to the Material Design website, which documents many animations but does not cover every component. For some gaps, the team reverse engineered behavior, including by looking at native Android implementations.

Community appreciation

The host acknowledges that the available specifications reduced the amount of reverse engineering needed. They also thank the Paper team and note that its users benefit from the work.

Takeaways

  • Check whether existing animations already run on the native thread before migrating libraries for performance.
  • Material Design documentation can guide animation work, but component coverage may be incomplete.
  • Use native platform implementations as references when design specifications leave gaps.
  • Account for reverse engineering when estimating work for components without documented animation behavior.

Mentioned in this talk

Search inside this talk

What was claimed 4

Related talks