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.
> sent over in a declarative format
like HTML?
> which the client then renders into a native view.
A WebView?
No
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.
I get that it’ll have native performance and responsiveness, but still maybe just touch up your website and call it a day?