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...
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...
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...
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...
I have been tweaking in Gatsby and by far it provides seamless functionality for static websites. I have stack where I need to design layouts using bootstrap as far as layouts are concerned bootstrap works well but for additional support like dropdow...
I need to run some functions (eg. Office UI Fabric React's initializeIcons()) and AXIOS call (eg. retrieve the logged-in user with Context API) only the first time the site is hit, then store the retrieved values in the React Context and make it...
I am currently building a gatsby site for a school project and came across something I couldn't figure out myself.  Basically I have some markdown files. They contain a frontmatter field called 'file' with the name of another file (for ex...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.