Provides drop-in support for replacing React with Preact.
Note: This plugin uses Preact X, any version prior to
v10.0.0is incompatible with Gatsby v2.
npm install gatsby-plugin-preact preact preact-render-to-string
// In your gatsby-config.js