This does not make sense to me: var { ScrollView, TouchableHighlight, Text } = React; It gives an error in Console.
React Native is now open source
201–210 of 298 posts
Re: React Native is now open source
#202Earlier quoted context omitted.
> they focused on running said HTML/Javascript within a performance limited WebView and not the other way around. Could you explain that? I'm not familiar with phone development and I'm having difficulty figuring out what "the other way around" is.
Phone Gap tried to mimic native Android and iOS UI using HTML, CSS, and JS. React Native uses JS to control 100% native UI.
I'm a little concerned because, for example, a button is not implemented as a native UIButton, and a ListView doesn't use UITableView. Instead they are composed of native UIViews with a lot of JavaScript glue.
That being said, Facebook has more experience writing iOS apps than me, so it may be possible that those things don't really matter (and doesn't preclude 1:1 components from being added down the road).
Re: React Native is now open source
#203Earlier quoted context omitted.
Don't forget http://robovm.com/ (basically java for ios).
Thanks for remembering and mentioning us. We don't have as huge a marketing budget as the other folks, so I'm going to shamelessly piggy back on your comment here. We also do Scala, Kotlin, Clojure etc. and we are OSS as well (we started out as OSS). You can build unlimited apps without paying us a dime. You can also compile the entire compiler plus Eclipse/Idea/Maven/Gradle integration yourself so you aren't locked…
Re: React Native is now open source
#204Re: React Native is now open source
#205Earlier quoted context omitted.
> do you really think you can call yourself an iOS developer when... I don't really want to call myself an iOS developer. I just want to port a simple web app to iOS, and my options are learning just enough iOS development to do it myself, or hiring a real iOS developer. So I'm curious if this framework would tip the scale in favor of the first option.
Sounds like you've answered this yourself. You don't even have to dive into React (which has its own unique way that I'd call barely JS anymore). Have you tried Cordova / Phonegap?
Eh, I assume you're referring to the JSX syntax. I happily don't use it at all. It's all just JavaScript functions and objects.
Re: React Native is now open source
#206Remember this day, because React Native is going to be a game changer (patent clause stuff aside). Others like Phone Gap tried to make it so you could build native apps using HTML/Javascript but they failed because they focused on running said HTML/Javascript within a performance limited WebView and not the other way around. This weekend I am going to try and get a working application built using React Native. Facebo…
I downvoted you not because I don't agree that Native will be compelling but because I hate to see all this hate that's come out against hybrid apps in general that's even been propagated by React Native devs.
Webviews will get there. WKWebView is already a huge step forward. I think Native is great, but it's not a clear winner in many cases. I even like "learn once apply everywhere" (though it doesn't really go against the web in any way), but I would say the mountain of hybrid apps out there actually disprove that it "just doesn't work".
Re: React Native is now open source
#207Does it support android as well?
Re: React Native is now open source
#208omg...I'm so excited still wish there was a way to develop for iOS on windows platform but I guess I will have to purchase a mac now if I want to build mobile apps
Re: React Native is now open source
#209Earlier quoted context omitted.
React Native is only the view layer. There is a ton more to an app than just the view layer.
Not just the view. React Native also gives you access to HTTP and full JavaScript logic, so the model, view and controllers can be written using React Native.