menu
Channels
Team
Posts
Members
Info
down-caret
·101d·Pinned# Meta

Explore everything Gatsby has to offer, with #100DaysOfGatsby

Starting Jan 1st we're running a guided challenge that invites you to learn many of Gatsby's APIs, conventions, and ecosystem tools. If you're new to Gatsby, you can sign up for weekly prompts and related resources, here: https://www.gatsbyjs.org/blog/100days/ Using and learning…

thumbsup
17
message-simple
0

It it possible to use react hooks inside gatsby-browser.js?

thumbsup
0
message-simple
6

.env.development in package.json not working.

i install env-cmd in my project and add this code in package json "develop": "env-cmd -f .env.development gatsby develop", this is the error: Failed at the gatsby-starter-hello-world@0.1.0 develop script. …

thumbsup
0
message-simple
6

I need help building modal

Please can someone help me on how to achieve this modal on Gatsby, am as well using React-boostrap. And way to refractor the images

thumbsup
0
message-simple
20

Scripts in Gatsby

Hey guys I was wondering how can I add a script to gatsby for say pre-optimizing images like in this doc: https://www.gatsbyjs.org/docs/preoptimizing-images/ Is there any configuration to do other than creating scripts folder on root and put the file inside?

thumbsup
0
message-simple
8

Selector and reducer data not updating in props in the component

I have an event listener with a selector in the Redux wrapper, this works fine. ReduxWrapper.js The reducer updates properly also …

thumbsup
0
message-simple
21

Passing onClick function to add class?

Hey I'm used to creating the old style JS adding a class to say a button click to animate in a navigational menu - how is this done in react? I am so lost - some people say I should be using the useState command and others say I pass a prop from the navbar down to the child…

thumbsup
0
message-simple
3

Headless CMSs for your Gatsby projects

We've had an overwhelming response to our headless CMS review post. The dev team that did the heavy lifting (writing) 👏 and I'm pretty stoked to share a mammoth post we made collectively about the headless CMSs. When to use a certain CMS? User interface. Top features. Support.…

thumbsup
3
message-simple
1

Help: using createPage() and createFilePath() - multiple use of field 'slug'

Hi I have a DatoCMS instance which I'm using to create some pages on my GatsbyJS site. Some other pages are locally-sourced MDX pages. For the CMS I'm using createPage(): …

thumbsup
0
message-simple
1

I want to include wordpress category slug in createPage

I want to make a link like this. 'abcd.com/{$category}/{$post_slug}'

thumbsup
0
message-simple
9

Gatsby build works on my local development machine but fails on production

I am facing a very odd issue, on my local machine when I run the gatsby build command everything builds correctly and the source plugin for Strapi works, however when I attempt the same thing on my production server I receive this error which makes no sense. So advice would be…

thumbsup
0
message-simple
2