React Native is now open source
291–298 of 298 posts
Re: React Native is now open source
#292Earlier quoted context omitted.
For some definitions of "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…
The native uibutton is made of uiviews too
I've spent 15 minutes with React Native so far, and as best I can figure, the answer is no.
If they were building the GUI components from UIKit pieces, they'd get all of this for free. But I understand it would be pretty hard to get all this working with the flexible layout architecture they have... so I'm guessing they'll have to slow add all the accessibility features in over time.
Re: React Native is now open source
#293Remember 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 think there's a lot of proof that it does work, given there's 300,000 Ionic apps, tons in production. 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…
Re: React Native is now open source
#294Cool to see this. By my count we now have, in no particular order: - React Native from Facebook ( https://github.com/facebook/react-native ) - Appcelerator's Titanium and Alloy Frameworks ( http://appcelerator.com ) - Telerik's Native Script ( http://telerik.com/nativescript ) - Xamarin ( http://xamarin.com ) As I understand it, all three of these frameworks have a JS (or C#) runtime that is compiled along with the a…
There's also Corona SDK, which uses lua and OpenGL. Write once, build for Android, iOS, and Windows Phone 8. UI performance is quite good. Supposedly building Mac and Windows desktop apps is coming soon, but HTML5 support was announced a year ago and has not yet happened.
The free version of Corona SDK supports only a subset of the native APIs (albeit an extensive subset that's probably sufficient for 95% of uses). If you want the full set, you have to pay $1,000+ a year for Corona Enterprise and implement your own os-specific glue logic.
Re: React Native is now open source
#295Earlier quoted context omitted.
Time for the now, almost weekly, shoutout for http://reactiveui.net which is a functional reactive programming framework that uses the Reactive Extensions for .NET to create elegant, testable User Interfaces that run on any mobile or desktop platform. Supports Xamarin.iOS, Xamarin.Android, Xamarin.Mac, WPF, Windows Forms, Windows Phone 8 and Windows Store apps. Check out "Writing Mobile Apps the Github Way by Paul Be…
Thank you for turning me on to this, I'm aware of Paul Betts but not this project in particular.
Re: React Native is now open source
#296Earlier quoted context omitted.
I think there's a lot of proof that it does work, given there's 300,000 Ionic apps, tons in production. 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…
Yeah I'm sorry, but web views are incredibly substandard to native apps. I've never found I hybrid app that I found comparable to its native counterpart. Simple things like scrolling can be very spotty most of the time.
That's just FUD. Only hybrid apps that use non-native scrolling are jittery, and for years now you can use '-webkit-overflow-scrolling: touch` to get native scrolling with bouncing.
Re: React Native is now open source
#297The first thing I do now on each Facebook open-source reveal, is to check the PATENTS file for the toxic second paragraph, to see if they've changed it. Sadly, no. I can't imagine being able to use this at any decent-sized company with lawyers. :-( https://github.com/facebook/react-native/blob/master/PATENTS See for example the discussions at https://news.ycombinator.com/item?id=9111849 (eg. https://news.ycombinator.…
I wrote about something similar with VP8, which is highly patent-encumbered. Google was like: 1. You have a license to our related patents 2. You're on your own if someone else claims that your use of our stuff infringes their patents 2a. But if the party suing is also a licensee, they lose their license. 3. You lose your license if you come after us for anything. These kinds of licenses have network effects, and are…
Not only did the call for patents never actually materialize anything (12 supposed but never named companies in a press release four years ago), Google bought out the MPEG LA's claims anyway[1].
Meanwhile the VP8 patent grant[2] is exactly the kind of thing being contrasted here: you lose your license to the VP8 patents only if you sue over patent infringement in VP8 itself.
[1] http://arstechnica.com/information-technology/2013/03/google...
Re: React Native is now open source
#298How can i use Sqlite with react native?
There is currently no native module for SQLite, but you can build one if you want. :-D http://facebook.github.io/react-native/docs/nativemodulesios... We use a key-value store for most of our client-side persistence: http://facebook.github.io/react-native/docs/asyncstorage.htm...