Live data from Hacker News

React Native is now open source

github.com

191–200 of 298 posts

Re: React Native is now open source

#192

Remember 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…

> 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.

Re: React Native is now open source

#193

Remember 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…

> 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.

Re: React Native is now open source

#194
post #63

can we use Babel over the top of it?

Nothing should stop you from doing it (if you can navigate your way around the codebase). However, we want to make it easy for you to use your favorite tools. Read more about how the packager currently works https://github.com/facebook/react-native/blob/master/package...

Re: React Native is now open source

#195
post #63

can we use Babel over the top of it?

Nothing should stop you from doing it (if you can navigate your way around the codebase). However, we want to make it easy for you to use your favorite tools. Read more about how the packager currently works https://github.com/facebook/react-native/blob/master/package...

Re: React Native is now open source

#196

Remember 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…

> 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.

With React Native, instead of writing HTML/CSS and running it on a crappy browser embedded in an app, you write code that looks like HTML/CSS (it's actually JSX)[1][2] and it is translated to native code.

[1] https://facebook.github.io/react/docs/displaying-data.html

[2] https://facebook.github.io/react/docs/jsx-in-depth.html

Re: React Native is now open source

#198
post #176

Earlier quoted context omitted.

If all companies issued code under these terms, and they all used each others' code, it would certainly make patent lawsuits impossible between them. That might or might not be Facebook's goal in the license, but regardless, it seems like a great outcome. Likewise, avoiding that outcome might or might not be Google's reason for not using this code, but since other companies are, it seems in need of explanation.

> it would certainly make patent lawsuits impossible between them Or they sue each other anyways and it takes another 5-10 years to figure that situation out, hobbling any OS development under those licenses while there are very clear and widely used and accepted patent grants available. There's a reason the FSF recommends Apache 2.0 if you aren't going to go GPL.

I get that Apache and GPL are well-established (perhaps not GPL3 yet though?), and that encourages stability to use them.

But this new patent license is stronger. If it would make the industry safer from patent armageddon in the long term, it might be worth the effort to popularize yet another license.

Re: React Native is now open source

#199
post #133

Earlier quoted context omitted.

Mutually assured destruction. If Facebook sued Yahoo, Yahoo could sue Facebook right back. I'm not really sure what Facebook thinks they are gaining with this clause. They aren't going to stop patent trolls, because they are non-practicing entities. Maybe they want to guard against someone making improvements to React and then suing Facebook if they do something similar later.

> Mutually assured destruction Wouldn't that apply to Google as well?

If you think you can dominate your opponent then MAD is not the most desirable outcome.

Re: React Native is now open source

#200
post #164
post #150

Cool 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…

In the case of React Native, we don't actually compile a JS runtime. We avoid that overhead by using whatever JS environment is available on the platform. In the case of iOS, we use JSC.

My last update (from two weeks ago or so) was that you were going to bundle a JS runtime for Android as there's too much variation in earlier versions. Has that changed?
Post reply on HN