TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Why was React Native created?

6 pointsby berznizabout 10 years ago
Was React Native created for making it easy for JS devs to develop for iOS? or for iOS devs to build apps more easily? Is it a path to a future cross platform native apps?<p>I&#x27;m both an iOS and web developer.<p>I fully understand what React (for the web) is trying to solve: UI&#x27;s are hard and treating them as state machine makes it easier to keep the UI consist ant. The web version is also easily debuggable in the same tools you debug your regular JS code.<p>React Native is odd. It&#x27;s not written in Swift&#x2F;Obj-C and is not debuggable using the same tools we use XCode (and debugging is a big part of what we do to optimize mobile apps).<p>What are your thoughts?

4 comments

bluerailabout 10 years ago
I think it&#x27;s a mixture of both. Getting web devs to dip their toes into mobile development and vice-versa. I really don&#x27;t see a reason for someone not to pick-up something that will give the best(not-exactly) of both worlds..<p>Think of the potential if a single language can be used to build apps in multiple platforms - web, mobile, desktop(node-webkit).. I think the language that currently satisfies this is JS and React-native is yet another extension to it.
cat9about 10 years ago
It&#x27;s not a replacement for Swift&#x2F;Obj-C, it&#x27;s a replacement for PhoneGap.<p>Android support is due Soon(TM). It just launched with was ready.<p><a href="https://github.com/facebook/react-native/pull/271" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;facebook&#x2F;react-native&#x2F;pull&#x2F;271</a>
ksherlockabout 10 years ago
39% of React Native is Objective C. (Or Java, eventually, for Android). Beyond simple things (or for better performance) you&#x27;ll still need and want native views&#x2F;modules in Swift&#x2F;Objective C.
serve_yayabout 10 years ago
I recommend their intro videos.