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