News for hackers. Stuff that matters.
Re:Flutter is the most popular cross-platform mobile SDK by conradfr on Tuesday February 22, 2022 @11:27AM (#30429844)
For some reason NativeScript is never mentioned on HN.
Re:Flutter is the most popular cross-platform mobile SDK by hunterb123 on Tuesday February 22, 2022 @12:07PM (#30430469)
NativeScript looks interesting and would be where I reached if React/RN TypeScript wasn't my preference.

React Native has a much larger ecosystem and feature set, including desktop & web targets, native view, many extensions, huge support, a lot of jobs.

NativeScript seems to just tie into native APIs, not the view layer, right? React Native bridges to native controls so you get native look and feel.

Flutter emulates the native view later by drawing everything itself which can be off, but it's performant at least.

If I preferred Web components, Svelte, Angular, or Vue I'd see the appeal of NativeScript.

Re:Flutter is the most popular cross-platform mobile SDK by akvadrako on Tuesday February 22, 2022 @07:39PM (#30436008)
React Native is based on NativeScript – which provides the JS layer and access to native APIs RN needs.
Re:Flutter is the most popular cross-platform mobile SDK by hunterb123 on Tuesday February 22, 2022 @08:08PM (#30436237)
After looking into it, NativeScript does use native UI controls, not webviews.

React Native is not based on NativeScript though, they are two different implementations.

Re:Flutter is the most popular cross-platform mobile SDK by samwillis on Tuesday February 22, 2022 @11:44AM (#30430102)
Love NativeScript, haven’t used it as the main platform but combined with Capacitor is super powerful. Incredible work.
Re:Flutter is the most popular cross-platform mobile SDK by udbhavs on Tuesday February 22, 2022 @03:12PM (#30433043)
How does that work, doesn't Capacitor already provide its own bridge to native APIs?
Re:Flutter is the most popular cross-platform mobile SDK by conradfr on Tuesday February 22, 2022 @03:31PM (#30433304)
Re:Flutter is the most popular cross-platform mobile SDK by akvadrako on Tuesday February 22, 2022 @07:38PM (#30435994)
Only for specific APIs - nativescript does everything.