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:
parent
e9d459275a
commit
f9ab788c6b
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue