Content in javascript

Getting started with Emotion and Gatsby

Getting started with Emotion and Gatsby

Emotion is a library for authoring and composing CSS rulesets in a performant way. Here's how to get started using it with Gatsby . First… 

Read more...

css-in-jsjavascriptgatsbyemotion
Autocompleting Yarn Commands in zsh

Autocompleting Yarn Commands in zsh

Usually I use jq to discover what scripts a node project uses like this: This is fine, and I can always find it be reverse-searching my… 

Read more...

Gatsby Plugin MDX Components API Design

Gatsby Plugin MDX Components API Design

Currently there's an issue that can pop up with respect to MDX and compatibility with the wider Remark ecosystem. Remark AST transformations… 

Read more...

Notes on Parsing the GraphQL SDL

Notes on Parsing the GraphQL SDL

Lately I've been doing some work with the GraphQL SDL and graphql-js (because it's for Gatsby and Gatsby is JavaScript). This post is… 

Read more...

Composing Yarn Workspaces

Composing Yarn Workspaces

This week we've been going over multi-package repo tools. Today I want to share a workflow that is enabled by those tools, even across… 

Read more...

Multi-Package Repos with Lerna

Multi-Package Repos with Lerna

Lerna is a multi-package repo tool similar to Yarn Workspaces. Many projects choose to use Lerna as the UI for interacting with their multi… 

Read more...

Multi-Package Repos with Yarn

Multi-Package Repos with Yarn

Yarn workspaces are a great option for working on multiple packages at the same time. They replaces npm link , gives you the ability to… 

Read more...

Gatsby Themes Core Algorithm

Today we're going to talk a bit about the core Gatsby themes algorithm. For background it may be good to read Introducing Gatsby Themes… 

Read more...

React State With Class Properties

Let's take a look at how to define state inside of React components in order to motivate the usage of class properties. First, the most… 

Read more...

Listeners Without Renders in React

Sometimes you run into a situation where you want to have some logic that isn't associated with any rendered output but starts/stops when a… 

Read more...

Do Expressions and Optional Chaining

Do Expressions and Optional Chaining are two extensions that I am particularly excited about in the ECMA pipeline. update I've removed… 

Read more...

Working Faster

When building a startup (or similar new product) it is useful to be able to get as much done as possible. These are some of my current… 

Read more...