RM
Stop building form backends. Perfect for MVPs & validating ideas.
Connect WordPress Gravity Forms with Gatsby when using a headless CMS. Simply render forms as React Components and pass form data back securely.
Conditionally access JavaScript object without returning an error. Shorter and simpler to implement, and returns null or undefined. Alternative to Lodash get.
Recoil is a minimal experimental state management library for React. This article gives an overview of its benefits and how to use Recoil. If you have used Redux or React Context with Providers, the concept is very...
Functional components are far more efficient than class based components. Less code is needed to achieve the same goal.This post explains how functional components can carry out life-cycle events without needing to be...
Considering using Gatsby JS for your website? Looking to improve your businesses marketing? Will it improve a websites performance? Not sure of the benifits? Gatsby could be the right choice.
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...
A simple step by step guide for creating a Gatsby JS source plugins, to help developers new to the eco-system. Includes starter templates to get you moving!
How to ESLint disable line, section, or whole page of code. Examples for ELint disable next line and other ESLint disable rules.
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...
A simple JavaScript function that takes a collection of londitude and latidute points in an array, and returns the bounds for use with maps.
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...