Access all files (not just images) from WordPress media library in Gatsby using custom resolvers and createremotefilenode. Uses gatsby-source-filesystem to add to query.
I recently published an article covering the development of a custom Gatsby Source Plugin. To help get off the ground faster I created a starter repository. I didn’t want to include too much details in the tutorial, so...
How to ESLint disable line, section, or whole page of code. Examples for ELint disable next line and other ESLint disable rules.
While researching the best way to implement React Context into my projects, I found that a lot of the articles were over-complicating what should be a very simple process. The code below is a slimmed down use case, so...
Here are several git commands I keep having to Google. This is either due to barely using them, or just them not sinking in. Hopefully this list will help you out as well! Create a New Branch and Move into It Very...
For a while now I have been working with WordPress as a back end CMS (one of the many micro services) and Gatsby to generate websites for my clients. To connect the two I am use a WordPress plugin called WP GraphQL, and...
I have been working on components for Gatsby JS, and including React Hooks. The idea is they will be packaged up separately and pushed to NPM. To make the build easier I house the component in a separate directory and...
After over three years of having the same WordPress theme, it was time for a change! This came about for a few reasons. There was nothing overwhelmingly wrong with the theme, but the font wasn’t the best on mobile. It’s...
Need to include functionality/services from multiple platforms? A content mesh type approach with React or Gatsby could be the solution!
Up until recently I have been predominantly a WordPress based developer. I have dabbled in other things, a little bit of React here and there but nothing crazy. Recently however, I have felt a bit nonplussed with it...