Live data from Hacker News

Why did Airbnb dump React Native? (2021)

theimmigrantprogrammers.com

131–136 of 136 posts

Re: Why did Airbnb dump React Native? (2021)

#131

TL;DR: * React Native caused problems for AirBnB because they needed more complete and efficient support for native geolocation/mapping features than RN provides * More generally, frameworks like RN and Flutter are a good choice if your app doesn't need extensive/precise/efficient access to native platform features and a bad choice if it does

That's accurate to the article but not accurate to modern RN or even most of Airbnb's reasoning when they switched. With JSI now you can get efficient access to native platform features. Before you were able to bridge pretty much any native feature with a native view or extension, but you were bottlenecked by the JS bridge. Nowadays you can use JSI for anything intensive. As far as Airbnb, it was more they were tryin…

> With JSI now you can get efficient access to native platform features. Before you were able to bridge pretty much any native feature with a native view or extension, but you were bottlenecked by the JS bridge. Nowadays you can use JSI for anything intensive.

JSI indeed makes things more efficient, but you still have to maintain code to translate between native and JS.

Re: Why did Airbnb dump React Native? (2021)

#132

TL;DR: * React Native caused problems for AirBnB because they needed more complete and efficient support for native geolocation/mapping features than RN provides * More generally, frameworks like RN and Flutter are a good choice if your app doesn't need extensive/precise/efficient access to native platform features and a bad choice if it does

* More generally, frameworks like RN and Flutter are a good choice if your app doesn't need extensive/precise/efficient access to native platform features and a bad choice if it does

+1, if you only ever do superficial platform features RN isn't a problem. However if you want to implement the platform features, like Widgets, Siri/Shortcuts support, Apple Watch support, Spotlight search integration now you're going to start having to maintain extensive bridges to communicate between native and JS.

Re: Why did Airbnb dump React Native? (2021)

#133

Earlier quoted context omitted.

That's accurate to the article but not accurate to modern RN or even most of Airbnb's reasoning when they switched. With JSI now you can get efficient access to native platform features. Before you were able to bridge pretty much any native feature with a native view or extension, but you were bottlenecked by the JS bridge. Nowadays you can use JSI for anything intensive. As far as Airbnb, it was more they were tryin…

> With JSI now you can get efficient access to native platform features. Before you were able to bridge pretty much any native feature with a native view or extension, but you were bottlenecked by the JS bridge. Nowadays you can use JSI for anything intensive. JSI indeed makes things more efficient, but you still have to maintain code to translate between native and JS.

Yes, but only the minimal to provide that specific native functionality, instead of a full blown native app.

Unless you're doing something uncommon, there's most likely a 3rd party lib for that functionality.

But yes, if you want to use a native platform feature that the standard lib doesn't expose of course you need native code either by you or someone else, that's the flexibility of React Native.

Re: Why did Airbnb dump React Native? (2021)

#134

Earlier quoted context omitted.

I'm sure you've thought about this already, but you might want to `yt-dlp` your videos now if you care about preserving them.

I've been on YouTube since the beginning. In the early days I uploaded a short clip from a favorite movie but YouTube removed it. A bunch of other people downloaded it and kept re-uploading it until YouTube finally gave up. I guess their new tact is tougher. They threaten to delete your account now.

Not new at all. This 3 strike system has been in place since pretty much the beginning of the Content ID system.

Re: Why did Airbnb dump React Native? (2021)

#135

Earlier quoted context omitted.

I have never seen cross-platform UI that would work and/or look close enough to native. It has always been classic "choose any two": cross-platform, UI, great. There were many people who claimed they have achieved all three, but at the close examination all of them, 100% without exception, were missing many little things like standard shortcuts, respecting color preference in user settings, or just couldn't see the d…

React Native literally uses native widgets.

The JavaScript bridge is still quite slow, though.
Post reply on HN