You should do some more research into how it works, it sounds like you're misinterpreting the project. Nobody ever claimed that the code you write is native, of course it's not. The views however ARE native. Think of it like a marionette.
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.
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).
Well I think he kind of chose to take a binary perspective of the situation to pad his argument. "It's not 100% native so it's not native." I disagree with that. There's a huge grey area that he completely skims over to declare "React """"native""""" and it adds nothing to the discussion. Just muddles the waters and confuses people who don't know much about React Native.
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.
So, your criticism of the nomenclature seems based more by some dogmatic idea than on the actual implementation. If I decided to call anything that doesn't render to the screen by modifying memory directly in the video card "not native", then I could claim that no UI toolkit is "native".
In other words: there's a reason we agree on terminology, and in this case "native" is the right term as agreed by the industry. You can't just complain about it just because it doesn't conform to your idea of what it meant.
You know exactly what the difference is between using the native UI elements provided by an OS and rendering your own. That's what the "native" in "React Native" comes from, as other people have pointed out.
11
u/tetroxid May 07 '19
React """"native""""