News for hackers. Stuff that matters.
Re:React Native at Airbnb by akmarinov on Tuesday June 19, 2018 @05:36PM (#17350462)
Server side rendered native screens just seem like fancy words for browser to me…

I get that it’ll have native performance and responsiveness, but still maybe just touch up your website and call it a day?

Re:React Native at Airbnb by faitswulff on Tuesday June 19, 2018 @05:39PM (#17350479)
Ah, my mistake, it should say "server-driven," which is more accurate. The view isn't actually rendered on the server, it just seems to be sent over in a declarative format, which the client then renders into a native view.
Re:React Native at Airbnb by mpweiher on Wednesday June 20, 2018 @07:10AM (#17354238)
> sent over in a declarative format

like HTML?

> which the client then renders into a native view.

A WebView?

Re:React Native at Airbnb by scottmf on Wednesday June 20, 2018 @10:41AM (#17355825)
No
Re:React Native at Airbnb by scottmf on Saturday June 23, 2018 @03:43AM (#17380055)
Sorry if the short response seemed rude. No is the answer to both of your questions.

RN isn’t just “HTML in a webview” like PhoneGap or Cordova: elements are actually rendered as native UI components. E.g., a <Text> element becomes a native UILabel on iOS and a TextView on Android.