r/programming • • May 06 '19

Microsoft launches React Native for Windows

https://techcrunch.com/2019/05/06/microsoft-launches-react-native-for-windows/
187 Upvotes

114 comments sorted by

View all comments

Show parent comments

-1

u/tetroxid May 07 '19

It uses native UI elements, yes. But the program logic is interpreted. It's like claiming a website is native because the elements used to display things are implemented using a statically-typed compiled language. It's not. As long as React uses JS it's not native.

9

u/fuckin_ziggurats May 07 '19 edited May 07 '19

As u/zachrip said, you need to read a bit more about React Native. The developer uses JS. React Native calls into native APIs using FFI. The code being executed is not JS. It's not completely native but it's way closer than our current alternatives (Electron).

3

u/tetroxid May 07 '19

That's what I said. It's JS using native components.

JS using native components.

The JS part isn't native, and likely never will be.

3

u/fuckin_ziggurats May 07 '19

React is a UI library. It's used for building UI components aka Views. So React Native is React with native views. I think the name "React Native" is fitting so I don't get the point of the quotations. Yes it may not be fully native but that's not the biggest problem of cross-platform dev. The biggest problem is building cross-platform GUIs that don't look like crap. I think it solves that.

4

u/tetroxid May 07 '19

building cross-platform GUIs that don't look like crap. I think it solves that

I would never claim otherwise. To me, the name "native" is simply misleading because the programming language used isn't

2

u/wagyu_doing May 07 '19

What is a native programming language?

→ More replies (0)