Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Flutter will be abandoned by Google like it's other projects.

It's not native, it emulates native UI. What happens when they can't keep up with the updates for all the platforms they plan to support.

Also, I don't think they support platforms other than iOS/Android, desktop and web is planned, but that doesn't help me now.

I do agree with your premise though, but I use React Native for a true native UI, plus it can target Windows, MacOS, Android, iOS, and Web.



How is RN "native", I mean apart of its naming? AFAIK, RN is bundled with a browser runtime, isn't it?


No, RN isn't bundled with any browser runtime. You're possibly thinking of Apache Cordova (which leverages the device's browser runtime for rendering UI).

RN is Javascript so it will execute on the device's JS runtime, which I guess is connected to the browser in some way, but RN doesn't use the browser for UI. The rendering is true native UI.

The way React does this is by decoupling the core library from UI rendering. The core React library contains no UI rendering code, it just handles UI lifecycles, internal state, events, etc. for logical UI components as object instances. You then plug that into a renderer library (most commonly the "ReactDOM" lib for web browser rendering).


> so it will execute on the device's JS runtime

Close. RN uses JavaScriptCore (Safari's JS VM). On iOS it will use the system provided VM. On Android, it's bundled with the app.

Hermes (https://hermesengine.dev/) is the new Android JS VM optimized for boot time and memory usage.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: