Permalink
Browse files

Fix animated blog lists

Summary:
Didn't notice when testing initially but the lists didn't show up properly without the extra new line before it.
Closes #12373

Differential Revision: D4557642

fbshipit-source-id: 874a7163a9b6b5492f3374b32aa0f9b7d48ffb0b
  • Loading branch information...
janicduplessis authored and facebook-github-bot committed Feb 14, 2017
1 parent 6a4f7c0 commit 7f9876c0498b23cadc232bdaf3e108144cfaf485
Showing with 2 additions and 0 deletions.
  1. +2 −0 blog/2017-02-14-using-native-driver-for-animated.md
@@ -25,6 +25,7 @@ First, let's check out how animations currently work using Animated with the JS
![](/react-native/blog/img/animated-diagram.png)
Here's a breakdown of the steps for an animation and where it happens:
- JS: The animation driver uses `requestAnimationFrame` to execute on every frame and update the value it drives using the new value it calculates based on the animation curve.
- JS: Intermediate values are calculated and passed to a props node that is attached to a `View`.
- JS: The `View` is updated using `setNativeProps`.
@@ -89,6 +90,7 @@ NativeAnimatedModule.startAnimation({
```
And now here's the breakdown of what happens when the animation runs:
- Native: The native animation driver uses `CADisplayLink` or `android.view.Choreographer` to execute on every frame and update the value it drives using the new value it calculates based on the animation curve.
- Native: Intermediate values are calculated and passed to a props node that is attached to a native view.
- Native: The `UIView` or `android.View` is updated.

0 comments on commit 7f9876c

Please sign in to comment.