Is it possible to execute grapql from components itself rather than pages or layouts? #4727
Closed
Description
Hi Gatsby!
I learned Gatsby for a while and made several tests with plugins:
- gatsby-transformer-remark
- gatsby-transformer-json
- gatsby-transformer-custom-blocks
My purpose is to use custom blocks plugin in Markdown to implement a list component which includes data from local json files, hence i need to execute Graphql in components but not in pages nor layouts, is it possible?
Thx a lot