Merge branch 'cleaning-ios-wkwebview' into renaming/rct-rnc-android

This commit is contained in:
Thibault Malbranche 2018-09-19 01:25:56 +02:00
commit 71cc1042f8

View File

@ -255,7 +255,7 @@ class WebView extends React.Component<WebViewSharedProps, State> {
const webView = ( const webView = (
<NativeWebView <NativeWebView
ref={webViewRef} ref={this.webViewRef}
key="webViewKey" key="webViewKey"
style={webViewStyles} style={webViewStyles}
source={resolveAssetSource(source)} source={resolveAssetSource(source)}
@ -390,7 +390,7 @@ class WebView extends React.Component<WebViewSharedProps, State> {
* Returns the native `WebView` node. * Returns the native `WebView` node.
*/ */
getWebViewHandle = () => { getWebViewHandle = () => {
return ReactNative.findNodeHandle(webViewRef.current); return ReactNative.findNodeHandle(this.webViewRef.current);
}; };
_onLoadingStart = (event: WebViewNavigationEvent) => { _onLoadingStart = (event: WebViewNavigationEvent) => {