From 880ae32027dc45ee1471eafaac46dedc63f13f1b Mon Sep 17 00:00:00 2001 From: Travis CI Date: Thu, 18 Jun 2015 16:34:24 +0000 Subject: [PATCH] update website --- docs/direct-manipulation.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/direct-manipulation.html b/docs/direct-manipulation.html index ebc60c60d7f..374f565cc56 100644 --- a/docs/direct-manipulation.html +++ b/docs/direct-manipulation.html @@ -10,7 +10,7 @@ hierarchy and reconciling many views. setNativeProps is imperative and stores state in the native layer (DOM, UIView, etc.) and not within your React components, which makes your code more difficult to reason about. Before you use it, try to solve your problem with setState -and shouldComponent.

setNativeProps with TouchableOpacity #

TouchableOpacity +and shouldComponentUpdate.

setNativeProps with TouchableOpacity #

TouchableOpacity uses setNativeProps internally to update the opacity of its child component:

setOpacityTo: function(value) { // Redacted: animation related code