Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

gatsby-plugin-react-next

Use React 16 with your Gatsby v1 site! Gatsby v1 ships with React 15 by default so install this plugin to start using React 16 in your sites. It automatically includes the two recommended polyfills for ES6 map/set so adding this to your site is drop-in upgrade to React 16.

Install

npm install --save gatsby-plugin-react-next

How to use

Add the plugin to your gatsby-config.js.

plugins: [`gatsby-plugin-react-next`];
© 2023 Gatsby, Inc.