Re:Hyperview – Native mobile apps, as easy as creating a web...
by captainepoch on Wednesday January 08, 2025 @10:40AM
(#42635340)
For the love of God, stop putting "Native" in web frameworks. No, React will never be native.
[ Parent
| on HN ]
Re:Hyperview – Native mobile apps, as easy as creating a web...
by dbbk on Wednesday January 08, 2025 @10:50AM
(#42635429)
What does this mean? There are plenty of big, native apps using React.
Re:Hyperview – Native mobile apps, as easy as creating a web...
by captainepoch on Wednesday January 08, 2025 @11:02AM
(#42635554)
React is a web framework. You can put Native behind React, it'll never be.
Re:Hyperview – Native mobile apps, as easy as creating a web...
by tstusr20190823 on Wednesday January 08, 2025 @07:21PM
(#42640153)
React 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".
Re:Hyperview – Native mobile apps, as easy as creating a web...
by nipponese on Wednesday January 08, 2025 @03:16PM
(#42638010)
It's "native" in that the wrapper is a native binary, but it's still a webpage.
Re:Hyperview – Native mobile apps, as easy as creating a web...
by agsnu on Wednesday January 08, 2025 @05:29PM
(#42639184)
React Native actually constructs a view hierarchy in the platform's UI toolkit, so I'm curious what you mean by "still a webpage"?
Re:Hyperview – Native mobile apps, as easy as creating a web...
by tstusr20190823 on Wednesday January 08, 2025 @07:17PM
(#42640125)
React 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.
Re:Hyperview – Native mobile apps, as easy as creating a web...
by agsnu on Thursday January 09, 2025 @02:55AM
(#42642845)
That 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.
Re:Hyperview – Native mobile apps, as easy as creating a web...
by tstusr20190823 on Thursday January 09, 2025 @03:31AM
(#42643106)
It 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.
Re:Hyperview – Native mobile apps, as easy as creating a web...
by dbbk on Friday January 10, 2025 @05:47AM
(#42654532)
With respect, literally the exact opposite is true. I think you're mistaking it with something else.
Re:Hyperview – Native mobile apps, as easy as creating a web...
by kelnos on Wednesday January 08, 2025 @06:11PM
(#42639549)
But 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".
Re:Hyperview – Native mobile apps, as easy as creating a web...
by robertoandred on Wednesday January 08, 2025 @07:52PM
(#42640363)
No, it renders native views.