From 7df0ccd24ea79c7df2a15202d9761a28381d10ed Mon Sep 17 00:00:00 2001 From: Thibault Malbranche Date: Wed, 19 Sep 2018 01:25:02 +0200 Subject: [PATCH] Updated ref to use react.createRef --- js/WebView.ios.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/WebView.ios.js b/js/WebView.ios.js index daaa06c..1d45d8e 100644 --- a/js/WebView.ios.js +++ b/js/WebView.ios.js @@ -255,7 +255,7 @@ class WebView extends React.Component { const webView = ( { * Returns the native `WebView` node. */ getWebViewHandle = () => { - return ReactNative.findNodeHandle(webViewRef.current); + return ReactNative.findNodeHandle(this.webViewRef.current); }; _onLoadingStart = (event: WebViewNavigationEvent) => {