From 880ae32027dc45ee1471eafaac46dedc63f13f1b Mon Sep 17 00:00:00 2001
From: Travis CI 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.
TouchableOpacity +and shouldComponentUpdate.
TouchableOpacity
uses setNativeProps internally to update the opacity of its child
component: