robbestad / react-iframe

Simple solution for using iframes in React
ISC License
434 stars 79 forks source link

Discussion: Webview vs Iframe for iOS 12? #36

Closed danactive closed 5 years ago

danactive commented 5 years ago

React Native v0.57 has a new iOS 12 component <WebView useWebKit={true} source={{url: 'https://www.google.com'}} /> http://facebook.github.io/react-native/blog/2018/08/27/wkwebview

What are the advantages of using this module to create an iframe vs using the new WebView component?

robbestad commented 5 years ago

Interesting. Let me read up on that and figure out which one is better than the other!

man. 1. okt. 2018 kl. 19:30 skrev Dan BROOKS notifications@github.com:

React Native v0.57 has a new iOS 12 component <WebView useWebKit={true} source={{url: 'https://www.google.com'}} /> http://facebook.github.io/react-native/blog/2018/08/27/wkwebview

What are the advantages of using this module to create an iframe vs using the new WebView component?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/svenanders/react-iframe/issues/36, or mute the thread https://github.com/notifications/unsubscribe-auth/ABfQp92ASVoVdgJhZ-1ysWsloTKAWEcmks5uglEYgaJpZM4XCiJZ .

-- Mvh, Sven Anders Robbestad https://www.robbestad.com http://www.robbestad.com/

danactive commented 5 years ago

@svenanders It seems like this react-iframe is exclusively for React.js whereas the WebView I mentioned is for React Native. Please confirm this difference

robbestad commented 5 years ago

Yep!