Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

Version Downloads Total


Provide the optional-chaining babel plugin in gatsby, just install and put in gatsby-config.


$ npm i gatsby-optional-chaining


$ yarn add gatsby-optional-chaining

How to use

Add the plugin to your gatsby-config.js.

module.exports = {
  plugins: [
© 2023 Gatsby, Inc.