Re:Proton Native – React Native for the desktop
by _bxg1 on Wednesday May 02, 2018 @10:33PM
(#16982941)
I've never heard of JavaScriptCore. I assumed that ReactNative transpiled JS to the native languages/APIs and that this would too.
[ Parent
| on HN ]
Re:Proton Native – React Native for the desktop
by ikurei on Thursday May 03, 2018 @05:07AM
(#16984419)
The only part that's translated to native APIs is the rendering itself. Instead of rendering a WebView with an HTML <button />, it renders a UIButton from the native UIKit.
The app logic is still in Javascript, never compiled to another language.
IMHO this is perfectly fine. I have a fairly large app in react-native, and most users that have tried it are fine with its performance. Scrolling in lists and maps, being native components, is as snappy as in a real native app. I'm only having performance issues in page transitions, and I think I can fix that with a bit more work.