RM
Looking to migrate from query-string to URLSearchParams? Example and walk-through in this article.
An example of how to permanently redirect a URL using Next.js. 301 is actually a 308, and how to wildcard path match within next.config.js
An example of how create a manifest file within Next JS using headless WordPress. WP GraphQL registering code snippets, and step by step explanation.
An example of how to use a WordPress favicon within Next JS. WP GraphQL registering code snippets, and step by step explaination.
A walkthrough and example of how to use Yoast sitemap XML files from a headless WordPress install in Next JS.
Solution to Vimeo videos/iframes negatively effecting website load speed. Use Intersection Observer API To Lazy Load. React component included in article.
A walkthrough on how to mock local storage in Jest tests, as well as how to clear storage in jest tests. Example included.
Adding Google AdSense to a Gatsby Website. Lazy load the Google AdSense script to keep site speed fast. Examples and walk through in article.
Mocking date in Redux Toolkit slice with jest in unit tests solution. How to solve new date isostring issue in RTK mock.
How to use Arrange Act Assert pattern in unit testing, and why it is so helpful. Arrange-Act-Assert is powerful because it is simple. By keeping the tests short and concise means clean tests.