2 ms·
Your use case is the situation where React Native thrives. You get code sharing across platforms and a leg up with election and stuff like that. I view Airbnb'
by wh-uws 6y ago
Your use case is the situation where React Native thrives. You get code sharing across platforms and a leg up with election and stuff like that.
I view Airbnb's failure with it more of a (justified) lack of will.
They already had native apps rolled out and were tacking things on with React Native.
I feel it's best to invest in the largess of the codebase being in React Native and digging into native apis when needed
"A common misconception is that when Airbnb decided to use React Native, that they made a complete switch. This is not only not true, but to this day the React Native code represents only 15-20% of the codebase and developer resources. It was never a majority platform for the company, and part of that was the immense upfront cost to enable even the first set of components for the mobile platforms.
Even though React Native is a framework and vastly simplifies mobile development, it is not trivial to get up and running, particularly if you have an existing codebase. Expect to invest a substantial amount of time and energy to integrating React Native into your existing mobile codebase"
Airbnb decided it wasn't a priority to finish the job.
That's a fine choice I just don't see it as wholesale indictment of React Native as it was originally sold in that article.
- tspike 6y agoThis topic seems to bring out the worst in programmer religious wars. Small company, limited resources, greenfield app that needs to be on all platforms: React Native is a no-brainer that'll help you survive and thrive. Large company, large existing native codebase, no shortage of resources: RN will be an expensive, divisive distraction that doesn't gain you anything. It can make a lot of sense for prototype projects, but that use case is pretty similar to the former.
- deleted 6y ago[deleted]