Blog

RSS

Offical React.js news, announcements, and release notes.

React v17.0 Release Candidate: No New Features

Today, we are publishing the first Release Candidate for React 17. It has been two and a half years since the previous major release of React, which is a long time even by our standards! In this blog post, we will describe the role of this major release, what changes you can expect in it, and how you can try this release.

By Dan Abramov and Rachel Nabors

·20 min read

React v16.13.0

Today we are releasing React 16.13.0. It contains bugfixes and new deprecation warnings to help prepare for a future major release.

By Sunil Pai

·7 min read

Building Great User Experiences with Concurrent Mode and Suspense

At React Conf 2019 we announced an experimental release of React that supports Concurrent Mode and Suspense. In this post we’ll introduce best practices for using them that we’ve identified through the process of building the new facebook.com.

By Joseph Savona

·17 min read

Preparing for the Future with React Prereleases

To share upcoming changes with our partners in the React ecosystem, we’re establishing official prerelease channels. We hope this process will help us make changes to React with confidence, and give developers the opportunity to try out experimental features.

By Andrew Clark

·7 min read

Introducing the New React DevTools

We are excited to announce a new release of the React Developer Tools, available today in Chrome, Firefox, and (Chromium) Edge!

By Brian Vaughn

·2 min read

React v16.9.0 and the Roadmap Update

Today we are releasing React 16.9. It contains several new features, bugfixes, and new deprecation warnings to help prepare for a future major release.

By Dan Abramov and Brian Vaughn

·11 min read

Is React Translated Yet? ¡Sí! Sim! はい!

We’re excited to announce an ongoing effort to maintain official translations of the React documentation website into different languages. Thanks to the dedicated efforts of React community members from around the world, React is now being translated into over 30 languages! You can find them on the new Languages page.

By Nat Alison

·7 min read

React v16.8: The One With Hooks

With React 16.8, React Hooks are available in a stable release!

By Dan Abramov

·7 min read

React v16.7: No, This Is Not the One With Hooks

Our latest release includes an important performance bugfix for React.lazy. Although there are no API changes, we’re releasing it as a minor instead of a patch.

By Andrew Clark

·3 min read

React 16.x Roadmap

You might have heard about features like “Hooks”, “Suspense”, and “Concurrent Rendering” in the previous blog posts and talks. In this post, we’ll look at how they fit together and the expected timeline for their availability in a stable release of React.

By Dan Abramov

·14 min read

React Conf recap: Hooks, Suspense, and Concurrent Rendering

This year’s React Conf took place on October 25 and 26 in Henderson, Nevada, where more than 600 attendees gathered to discuss the latest in UI engineering.

By Tom Occhino

·2 min read

React v16.6.0: lazy, memo and contextType

Today we’re releasing React 16.6 with a few new convenient features. A form of PureComponent/shouldComponentUpdate for function components, a way to do code splitting using Suspense and an easier way to consume Context from class components.

By Sebastian Markbåge

·5 min read

Create React App 2.0: Babel 7, Sass, and More

Create React App 2.0 has been released today, and it brings a year’s worth of improvements in a single dependency update.

By Joe Haddad and Dan Abramov

·6 min read

Introducing the React Profiler

React 16.5 adds support for a new DevTools profiler plugin.

By Brian Vaughn

·8 min read

React v16.4.2: Server-side vulnerability fix

We discovered a minor vulnerability that might affect some apps using ReactDOMServer. We are releasing a patch version for every affected React minor release so that you can upgrade with no friction. Read on for more details.

By Dan Abramov

·4 min read

You Probably Don't Need Derived State

React 16.4 included a bugfix for getDerivedStateFromProps which caused some existing bugs in React components to reproduce more consistently. If this release exposed a case where your application was using an anti-pattern and didn’t work properly after the fix, we’re sorry for the churn. In this post, we will explain some common anti-patterns with derived state and our preferred alternatives.

By Brian Vaughn

·14 min read

React v16.4.0: Pointer Events

The latest minor release adds support for an oft-requested feature: pointer events!

By Andrew Clark

·5 min read

React v16.3.0: New lifecycles and context API

A few days ago, we wrote a post about upcoming changes to our legacy lifecycle methods, including gradual migration strategies. In React 16.3.0, we are adding a few new lifecycle methods to assist with that migration. We are also introducing new APIs for long requested features: an official context API, a ref forwarding API, and an ergonomic ref API.

By Brian Vaughn

·6 min read

Update on Async Rendering

For over a year, the React team has been working to implement asynchronous rendering. Last month during his talk at JSConf Iceland, Dan unveiled some of the exciting new possibilities async rendering unlocks. Now we’d like to share with you some of the lessons we’ve learned while working on these features, and some recipes to help prepare your components for async rendering when it launches.

By Brian Vaughn

·12 min read

Sneak Peek: Beyond React 16

Dan Abramov from our team just spoke at JSConf Iceland 2018 with a preview of some new features we’ve been working on in React. The talk opens with a question: “With vast differences in computing power and network speed, how do we deliver the best user experience for everyone?”

By Sophie Alpert

·2 min read

Behind the Scenes: Improving the Repository Infrastructure

As we worked on React 16, we revamped the folder structure and much of the build tooling in the React repository. Among other things, we introduced projects such as Rollup, Prettier, and Google Closure Compiler into our workflow. People often ask us questions about how we use those tools. In this post, we would like to share some of the changes that we’ve made to our build and test infrastructure in 2017, and what motivated them.

By Dan Abramov and Brian Vaughn

·30 min read

Introducing the React RFC Process

We’re adopting an RFC (“request for comments”) process for contributing ideas to React.

By Andrew Clark

·2 min read

React v16.2.0: Improved Support for Fragments

React 16.2 is now available! The biggest addition is improved support for returning multiple children from a component’s render method. We call this feature fragments:

By Clement Hoang

·8 min read

React v16.0

We’re excited to announce the release of React v16.0! Among the changes are some long-standing feature requests, including fragments, error boundaries, portals, support for custom DOM attributes, improved server-side rendering, and reduced file size.

By Andrew Clark

·11 min read

React v15.6.2

Today we’re sending out React 15.6.2. In 15.6.1, we shipped a few fixes for change events and inputs that had some unintended consequences. Those regressions have been ironed out, and we’ve also included a few more fixes to improve the stability of React across all browsers.

By Nathan Hunzaker

·3 min read