node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »



Provides drop-in support for replacing React with Preact.

While Preact doesn't provide full support for the React ecosystem, it is an intriguing option for Gatsby sites as it saves ~30kb of Javascript vs. using React.


npm install --save gatsby-plugin-preact

How to use

// In your gatsby-config.js
plugins: [`gatsby-plugin-preact`];