3 ms·
this is a cool model and I do something similar (I use native code to render the webview). though I wouldn't describe it as abandoning RN, because I use react-
by marstall 4y ago
this is a cool model and I do something similar (I use native code to render the webview).
though I wouldn't describe it as abandoning RN, because I use react-native-web inside that webview.
rn-web provides certain features that are crucial for a native feel on mobile, like better coordination of touches within scrollviews.
- sureglymop 4y agoDo you have/know any example app to try out?
- marstall 4y agoI don't - but check out WKWebViewController ... and its WKScriptMessageHandler delegate, which lets you receive messages from javascript embedded in the currently viewed page.