From small startups to giant enterprises, when we recommend React to our clients, no one blinks. It’s because React has become the de facto way to write complex web apps, and there are a few reasons why.
The core philosophy of React development revolves around creating small, reusable building blocks—components—which can ultimately be pieced together to form entire websites. Backed by Facebook and an ever-growing community of open-source developers, React’s meteoric rise in adoption over the last half-decade has positioned it to be a mainstream front-end technology well into the foreseeable future. In short, React speeds up development, minimizes risk, and is easier to hire for.
Who Uses React
Companies like Netflix, Walmart, Dropbox, Tesla, Airbnb, and many, many others use React. This wide adoption is due to React’s component-based architecture: It allows large organizations to work nimbly, introducing components as needed without completely rewriting their entire codebase.
That shared understanding (and code!) across products creates efficiencies and flexibility you don’t have on a development team that has to be able to write and maintain native Android code, native iOS code, and code for the web.
Historically, the web worked like this: You fired up your web browser, typed in a URL, and a server loaded a page to display to you, made up of HTML. That HTML got sent over the internet to your browser, which rendered it on your screen. Every time you clicked a link, you asked a server for more HTML and waited for it to deliver.
sidebar_collapsed set to true, the sidebar should be collapsed. It effectively removes the need for programmers to write custom code connecting what should happen in an app from what is on screen.
This is very exciting to programmers (who have a special word for this kind of programming: declarative) because, yes, they get to write less code, but mostly because the code they’re still writing looks much more similar to the set of business requirements a manager hands to them. “We have a sidebar, it’s collapsible, and there’s a big grid of paginating boxes over here” now directly translates into a sidebar component, some collapsible state, and a grid of box components. That means apps are built faster, feel faster, and are easier to reason about.
Postlight uses React extensively to build richly featured, dynamic frontends for VICE Media, Bloomberg, and The Players’ Tribune. Using React Native, Postlight shipped an entirely new mobile app for The National Audubon Society on both iOS and Android, using the same codebase. We use React extensively in Postlight Labs to quickly build our open source projects. And we’ve also used it to build more unusual tools, like command-line interfaces and Chrome extensions.
The Front-End Tech to Watch
React is always getting better. It has a passionate community that’s constantly working to improve it: Just recently, new versions introduced features like the Context API, Hooks, and Error Boundaries. Next year promises performance speedups and better data-fetching integrations. But the real reason to watch React in 2020 is because many web developers already speak it: You wouldn’t be wrong to call it something approaching a standard in web development today.
Even beyond the world of web development, React’s declarative style of programming is gaining traction. React is poised to solidify itself as the de facto way to write complex web apps in 2020, which is a win for web developers, product managers, and end users alike.