Live data from Hacker News

React Native is now open source

github.com

131–140 of 298 posts

Re: React Native is now open source

#131
post #84

Incredible on iOS. Android support... coming soon! This seems to be the case with a lot of cross-platform development kits. One or the other of the platforms is a second-class citizen. It seems that all of us are salivating at the idea of having true cross-platform tools that actually work really well on all environments so I will keep my fingers crossed that Facebook can pull it off.

Having used Facebook's Android app, I would probably count them out right off the bat. That app is complete junk -- it's slow, bloated, glitchy, and so greedy with permissions it makes a mockery of the whole system.

In fairness, the Facebook app is not developed in React Native. I'd be more curious what Facebook Groups and Ads Manager are like on Android (if they even exist), since those are the touted "React Native" apps.

Re: React Native is now open source

#132
post #67

Earlier quoted context omitted.

> for serious apps Like Facebook's Groups app and Ads Manager app, which both use React Native?

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.

Re: React Native is now open source

#133
post #7

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

Yahoo and Netflix are using React, right? Do you (or anyone) know why they consider the license acceptable, but Google wouldn't?

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.

Re: React Native is now open source

#134

Earlier quoted context omitted.

> Full disclosure: I work at Google, where many are sad to not be able to use recent Facebook code. I'm confused. The Facebook PATENTS stuff seems no worse than MIT-licensed code that includes no patent grant at all. In other words, if the PATENTS termination clause takes effect, then the software essentially reverts to being plain MIT, instead of MIT + patent grant, right? EDIT: Appears the issue is implicit vs expl…

IANAL, but the argument seems to be that there is an implicit patent grant in the MIT license. MIT gives you a license to use the software, and you can't use the software without a patent grant, therefore you have an implicit patent grant. The existence of an explicit patent grant means that you can use React without an implicit patent grant, so you don't just automatically get one if you lose the explicit patent gra…

Wouldn't that implicit patent grant be in every other BSD-style license as well?

As far as I understand it, the patent grand terminates when you end up in court with Facebook and then you're effectively distributing software that may or may not be covered by patents you don't own/have a license for.

Re: React Native is now open source

#135
post #7

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

Can anyone tell me how this clause is interpreted when I use React in Germany? German law (simplified) claims that no software patent is valid unless it solves a technical problem (in the physical problems sense). Does this mean since I accept German law as valid by being a citizen of the country I implicitly claim some (ergo any) Facebook patents are invalid and the clause triggers automatically? Is living in such a country enough or do I have to actively state "Facebook patents..invalid IMO"? What about the German government itself using React?

I'm mostly interested in the interpretation since it's a curious use case. The actual grant you'd lose is pretty much useless in that scenario either way (as it can't really be granted due to the software not patentable issue).

Re: React Native is now open source

#136
post #7

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

If they're serious about open source, they should just Unlicense it.

http://unlicense.org/

Re: React Native is now open source

#137
post #7

The 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'm quite a noob concerning law stuff, can you please provide a little explanation about its patent? Thank you for your attention.

Re: React Native is now open source

#138
But why React Native? Reactjs for web makes sense as browsers struggle with DOM manipulation.

Native apps rendering capacity is sub-micro seconds. Hoping for Appcelerator's dreaming Hyperloop that give us native JS capabilities.

I still plan to use ReactJs (web) within web-view.

Re: React Native is now open source

#139
Is React Native for iOS able to take advantage of JavaScriptCore's JIT compiler on any version of iOS? Or can it only use the interpreter?

If the latter, I wonder if the React Native developers have considered using Duktape rather than JavaScriptCore. Duktape might be better for memory usage, since it uses reference counting, with mark-and-sweep GC only being necessary to break cycles.

Re: React Native is now open source

#140

React Native is the most promising cross-platform UI toolkit I've thus far encountered. Congratulations to the team that built / launched it. The reason I'm excited for it: Java promised write-once-run-anywhere, which means you are always serving the least common denominator. React Native promises learn-once-write-anywhere, which means a single team of engineers can realistically build high-quality apps using the tar…

WORA is pretty much a pipe dream, to different are the platforms and UI toolkits. One of the reasons why we heavily focus on enabling the same language(s) on multiple platforms while using the native UI toolkits with RoboVM.

Funnily enough it's a different matter for games, see Unity, UE4, libGDX, Cocos2D-x etc.

Post reply on HN