frontend (3)

Draft posts in GatsbyMay 23, 2019

A build time draft state solution for markdown in gatsby.

The problem After completing the rewrite of my personal website using gatsby, I started migrating all my content from my old website to this one. In the process, I remembered that Jekyll had a way of indicating that a post was a draft, and thus should not be included in the final built version of the website, but would still show up while developing locally. I went searching for a similar way to…Keep Reading

when.jsNovember 05, 2014

Ensure async script dependencies are available before use

I’ve been thinking about javascript library dependencies (I’m going to use library in place of library/framework so that I don’t have to write it a bunch) in the browser lately and the async attribute on script tags. Script tags are render-blocking so if you required a library for your web app, all you needed to do was ensure that the library include was before your script include that uses the…Keep Reading

MemoizeOctober 12, 2014

How memoizing works and an explanation of a javascript implementation

Being a dad there isn’t much to make me prouder than to see my daughter trying to type on my computer so that she can be just like her daddy. So I decided to let her co-author this post with me (even though she can’t even speak). This last week was the career fair at BYU-Idaho where many companies, mostly from the surrounding area and Utah, came to recruit the best we have to offer. I interviewed…Keep Reading


© Matthew Sessions 2022