8 ms·
For the love of God, stop putting "Native" in web frameworks. No, React will never be native.
by captainepoch 2y ago
For the love of God, stop putting "Native" in web frameworks. No, React will never be native.
- dbbk 2y agoWhat does this mean? There are plenty of big, native apps using React.
- captainepoch 2y agoReact is a web framework. You can put Native behind React, it'll never be.
- tstusr20190823 2y agoReact allows you to write custom renderer and React Native is a quick and dirty example of that custom renderer. The only reason it does not "feel native" is because Meta does not invest much into it and only subset of the "native" features is implemented in "native way".
- rib3ye 2y agoIt's "native" in that the wrapper is a native binary, but it's still a webpage.
- agsnu 2y agoReact Native actually constructs a view hierarchy in the platform's UI toolkit, so I'm curious what you mean by "still a webpage"?
- kelnos 2y agoBut everything in that view hierarchy is still drawn using HTML and CSS, and all the logic is implemented in JS, no? If that's the case, then that's not "native".
- robertoandred 2y agoNo, it renders native views.
- tstusr20190823 2y agoReact Native constructs only single UIView by default and draw actual UI using poorly man browser engine using JS. This UI does not "feel native" to user, because it has wrong animation timings, scroll speed, border elevation, missing "native" gestures, etc.
- agsnu 2y agoThat is certainly true of Flutter, which has its own rendering pipeline. React native, if you create a Button then on iOS you'll get an actual UIButton instance constructed, etc.
- tstusr20190823 2y agoIt is true for a few components derived from TouchableOpacity like Button, sure. That is NOT true for most other components. You does not have UICollectionView, UINavigationView (only solvable with third-party buggy components), etc.
- dbbk 2y agoWith respect, literally the exact opposite is true. I think you're mistaking it with something else.