Connect WordPress Gravity Forms with Gatsby when using a headless CMS. Simply render forms as React Components and pass form data back securely.
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 similar.
SOLVED problem of 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 not have HTTP ok status.
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.
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.
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 you can copy straight into your build. There is a template for setting up the provider...
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 Gatsby plugin called Gatsby Source GraphQL. Everything always works brilliantly, apart...