Add more info link for warnedMissingNativeAnimated

Summary:
Add link with more details of how to resolve warnedMissingNativeAnimated warning.
Closes https://github.com/facebook/react-native/pull/11224

Differential Revision: D4268352

fbshipit-source-id: 679574570aea2f4ec7083247d5b6dcba378e8560
This commit is contained in:
Sagiv Ofek 2016-12-02 15:20:58 -08:00 коммит произвёл Facebook Github Bot
Родитель e9d459275a
Коммит f9ab788c6b
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -42,7 +42,8 @@ function shouldUseNativeDriver(config: AnimationConfig | EventConfig): boolean {
'Animated: `useNativeDriver` is not supported because the native ' + 'Animated: `useNativeDriver` is not supported because the native ' +
'animated module is missing. Falling back to JS-based animation. To ' + 'animated module is missing. Falling back to JS-based animation. To ' +
'resolve this, add `RCTAnimation` module to this app, or remove ' + 'resolve this, add `RCTAnimation` module to this app, or remove ' +
'`useNativeDriver`.' '`useNativeDriver`. ' +
'More info: https://github.com/facebook/react-native/issues/11094#issuecomment-263240420'
); );
warnedMissingNativeAnimated = true; warnedMissingNativeAnimated = true;
} }