I am looking for help with GatsbyJS and Contentful. The docs aren't quite giving me enough info.  I am looking to programmatically create pages based on contentful data. In this case, the data type is a retail "Store" with a gatsby page a...
I would like to pass state to a sibling or even a grandparent whatever.  I have 3 components. Inside Header, I have a button with an onClick function to toggle a Dropdown Menu inside Navigation. And by the way, I would like to pass the same state to...
I am trying to make a doughnut chart with react and gatsbyjs. The chart works fine but I can not get it to use the full width of the div. It displays too small for the area reserved.  render (){     return (              <Doughnut...
In the Contentful CMS, I have two different content-types: BigCaseStudy and BigCaseStudySection. To get this content to appear in my Gatsby 2.x site, my thinking was:   Do query 1, which gets all the BigCaseStudy fields I want to display, and also co...
So, I have been investigating this bug for a while now and I think I got to the root cause of it. I have a navbar that changes if the user is logged in or not. On server render (I am using gatsby), this property is obviously always false meaning that...
I am working on a Gatsby project (a language learning blog) and am having trouble with an issue that only happens in production builds due to server-side rendering.  I programmatically generate a page for each blog post with the following scheme: /po...
When building our production app in Gatsby, I see something like this:  window.___chunkMapping={   "app":[],   "component---src-templates-page-tsx":[],   "component---src-templates-pages-newsletter-tsx":[] }   Is it possible t...
I'm not sure if there's a bug with something I'm using or whether I've just set something up wrong here, but I'm getting this error from eslint when running eslint src --fix about "[email protected]"  I'...
So, I'm using the gatsby-mdx plugin to create a site from MDX files. I want to create an association between the SitePage object and the Mdx object so that I can do one graphQL query of the SitePage edges in order to construct a site navigation....
I am building a multi-page website (so, multi Component) with Gatsby. On the official documentation it says that in the Layouts folder I should have the file index.js which stores the components common to the other pages (such as the navbar and the f...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.