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...
A step by step process of deploying Gatsby static sites on AWS without Amplify. Solution to 'Deploy fails with "[ERROR]: Failed to deploy'. Gatsby deploy with AWS CI.
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.
Fix for WordPress CORs errors with Wordpress Rest API. content-type is not allowed by Access-Control-Allow-Headers, x-wp-nonce is not allowed by Access-Control-Allow-Headers, doesn't pass access control check: It does...
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...
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.