News for hackers. Stuff that matters.
Re:Why is Facebook supporting React? by nostrademons on Thursday February 12, 2015 @01:33PM (#9040395)
(I don't and have never worked for Facebook...this is my interpretation based on watching several technology cycles - Windows => Java => Web => Mobile - go by.)

They want to own the next generation UI layer that the rest of the technology industry writes their programs on. That's why they've focused on making React cross-platform with React Native, and it would give them enormous leverage in adapting the platform to their revenue-generating products' needs.

If you look at the difference between Google's and Facebook's strategic moves with the shift to mobile, a lot of it can be explained simply because Google owns a browser and a mobile OS, and Facebook owns neither. So Google puts out Polymer, and builds it into Chrome, and uses that as a carrot & stick to move the browser ecosystem in a direction it wants. Facebook can't build their needs into the browser, and so they put out React, which has to function as a layer on top of the browser (or native platforms, now). That means you pay for the download cost, it can never be as fully performant as things that run natively on the GPU, it won't integrate well with the rest of CSS/HTML, etc.

I bet that if React becomes successful in the UI space and a majority of apps start using it as their framework, Facebook's next move will be to put out a mobile OS that runs it natively. Right now, Facebook's phone plans have been thwarted because there are no apps for it, and so no consumer would buy a Facebook phone. If they could instead say "All your favorite apps run twice as fast as they do on competing phones!", people would switch in droves.

Re:Why is Facebook supporting React? by dreamdu5t on Thursday February 12, 2015 @10:12PM (#9042704)
Facebook supports React simply because it's a tool that allows them to effectively develop UIs that perform well. That's it.

> That means you pay for the download cost, it can never be as fully performant as things that run natively on the GPU

If you're talking about the web, the virtual-dom diffing strategy employed by React performs better than other ways to render complex UIs in the browser.

> it won't integrate well with the rest of CSS/HTML, etc.

The whole point of React is to make writing CSS and HTML easier. It integrates wonderfully.