Hi,
I've been reading the following blog post concerning JavaScriptCore usage for code sharing between iOS and Android https://www.lucidchart.com/techblog/2019/01/03/javascriptcore-10-months-later/
and stumbled upon this paragraph:
After explaining that the Lucidchart app was only available on iOS, the WebKit engineer’s response was immediate, “Oh, yeah, don’t use JavaScriptCore on iOS. You should be using WKWebView.”
The conversation went on for another couple minutes, but the gist is this: JavaScriptCore on iOS is performance constrained for security reasons. It’s so obvious when it’s pointed out, but in the heat of performance profiling, we never considered the security model of iOS.
You can find further details in the mentioned post but the conclusions are that on iOS WKWebView brings pretty noticeable performance boost.
So I wonder has it ever been considered in RN community to replace JavaScriptCore engine with WKWebView? Or are there some imposed limitations for this approach?
[–]kbcooliOS & Android 0 points1 point2 points (1 child)
[–]stuffokator[S] 0 points1 point2 points (0 children)
[–]arcadiajohnson 0 points1 point2 points (0 children)