mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
5876052615
Summary: We found that many callsites existed that could be using the native driver, but weren't. In order to help people use it when appropriate and eventually switch the default, we are requiring that useNativeDriver is explicit, even when set to false. This change adds a runtime warning if useNativeDriver is not specified, hopefully giving some light feedback to remember to use the native driver when you can. Without it being explicit it is very easy to forget setting this. Reviewed By: JoshuaGross Differential Revision: D17575918 fbshipit-source-id: e54612d87177e1821692b7de20fe673df0e890d2