An open API service indexing awesome lists of open source software.

https://github.com/nystudio107/gatsby-concurrent-mode

Enable Concurrent Mode in in React for Gatsby projects.
https://github.com/nystudio107/gatsby-concurrent-mode

Last synced: 11 months ago
JSON representation

Enable Concurrent Mode in in React for Gatsby projects.

Awesome Lists containing this project

README

          

# gatsby-concurrent-mode

## About `gatsby-concurrent-mode`

The `gatsby-concurrent-mode` plugin enables [Concurrent Mode](https://reactjs.org/docs/concurrent-mode-intro.html) in in React for Gatsby projects

This is based on [Wei's](https://twitter.com/wgao19) blog [Play with React Concurrent Mode with Your Gatsby Site](https://aworkinprogress.dev/play-concurrent-mode-with-your-gatsby-site/) with code from [Fredrik Höglund](https://twitter.com/EphemeralCircle)

## Installing `gatsby-concurrent-mode`

```bash
yarn add gatsby-concurrent-mode
```

or

```bash
npm install --save gatsby-concurrent-mode
```

## Using `gatsby-concurrent-mode`

In your `gatsby-config.js` file add this to your `plugins:`:

```js
module.exports = {
plugins: ['gatsby-concurrent-mode']
};
```