[ ] Chore (a non-breaking change which is related to package maintenance)
[ ] Bug fix (a non-breaking change which fixes an issue)
[x] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description
This adds Static Query support. It enables the use of Gatsby's useStaticQuery() and <StaticQuery> in Stories.
Gatsby's development server must be running for Static Queries to be available in Storybook. Alternatively, the Gatsby project can be built ahead of starting Storybook.
Types of changes
Description
This adds Static Query support. It enables the use of Gatsby's
useStaticQuery()
and<StaticQuery>
in Stories.Gatsby's development server must be running for Static Queries to be available in Storybook. Alternatively, the Gatsby project can be built ahead of starting Storybook.
Related thread: https://community.prismic.io/t/storybook-addon-gatsby-how-to-override-options-in-babel-plugin-remove-graphql-queries-fix-loading-staticquery-in-storybook/8763
Checklist:
📕