Skip to Content
What React Is and Why It Matters
book

What React Is and Why It Matters

by Eric Baer
August 2018
Intermediate to advanced
61 pages
1h 12m
English
O'Reilly Media, Inc.
Content preview from What React Is and Why It Matters

Chapter 2. React: A History

Facebook filed for an initial public offering (IPO) on the first of February in 2012, which means that by mid-2011 the US Securities and Exchange Commission (SEC) paperwork was in full swing and Facebook’s Ads platform was the official center of Facebook’s financial future. The Facebook Ads code was written using a technique called two-way binding, whereby data is linked to parts of a UI such that changes to one are immediately reflected in the other. Two-way binding was a common technique at the time and was promoted heavily in libraries like Knockout.js and AngularJS, but large applications were beginning to struggle with its complexity. For cases in which the UI is connected directly to the data, the concept is simple to follow: a page that displays a view counter connects, or binds, to a piece of data called viewCount, for example. The problem is that most applications also need sophisticated compound data that can trigger cascading, interrelated updates.

As the Ads application grew, it became difficult to understand the exact series of events that caused a specific piece of UI or data to change, to recreate those events, and to make targeted fixes to bugs. Some of the code to manage these problems was released as open source, but given the persistent problems at Facebook, and that tools like Ember.js and AngularJS were doing similar things, the adoption was lackluster.

I was sort of a framework connoisseur. I guess that’s what started this.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Beginning React

Beginning React

Andrea Chiarelli
The React Workshop

The React Workshop

Brandon Richey, Ryan Yu, Endre Vegh, Theofanis Despoudis, Anton Punith, Florian Sloot, Daniel Bugl, Brandan Jones, SudarshanReddy Kurri, David Parker, Cihan Yakar
Test-Driven React

Test-Driven React

Trevor Burnham

Publisher Resources

ISBN: 9781491996744Errata Page