Hey, I'm Chris

I'm a full-stack web developer obsessed with making the web easier to build for everyone. For the last few years I've been a solutions engineer at Gatsby, Netlify, and now Sanity, as well as consulting to help companies build a better web. Check out the things I've built or the tech I've used to build them below.

Chris LaRocque headshot

Projects

Remove 404 error for /service-worker.js in local development

Various frameworks will show a 404 in the console for a /service-worker.js file, here's how to remove that lil jerk.

3/4/2024

Add Vitest to a Next app

Adding Vitest to a Next app and writing a simple test

12/9/2023

Astro component for a GitHub contribution graph

Using the GitHub GraphQL API to recreate their contribution graph in an Astro component with Tailwind CSS.

12/3/2023

Astro component for a list of GitHub gists

Using the GitHub JS client Octokit to fetch all gists for a user and render them using an Astro component.

12/2/2023

Migrating my site from Nuxt to Astro

The process of taking my site from Nuxt to Astro, and how content collections replaced Contentful.

11/25/2023

Creating a Tailwind color picker

A little helper function I found useful in a recent project that allows you to get the Tailwind color closest to a given CSS color value.

11/24/2023

Generating open graph images with Netlify functions.

How to leverage Netlify functions and Satori to generate open graph images for your site.

2/28/2023

Building theconvergencebooks.com with Astro

Migrating theconvergencebooks.com from Wix to Astro+Tailwind

1/12/2023

Content search with Nuxt, Algolia, and Contentful

Integrating Algolia into a Nuxt+Contentful stack.

11/3/2022

Website internationalization and gatsby-plugin-i18n-config

Notes on website internationalization for a Gatsby plugin that never was.

11/1/2022

LaRocque.dev v1

Building a portfolio site with Nuxt, Bulma, and Contentful.

5/8/2022

Porting LaRocque.dev from Nuxt to Gatsby

How to migrate a Nuxt app over to Gatsby.

1/31/2022