I recently read [Josh Comeau's excellent article](https://www.joshwcomeau.com/react/dark-mode/) on how he was able to achieve a theme toggle on his Gatsby site. I find his solution to be excellent! However my Gatsby site is, for better or worse, pretty tied to MDX and React. I implemented a solution based on his for my current site theme. Read more
This post is just an accumulation of a few introductory and valuable resources for learning about and getting started with microfrontends. I'll try to keep this resource as up-to-date as possible. Read more
A while ago, I wrote about an [improvement to using props in styled-components](/improve-your-styled-component-props-usage/). The TLDR; is "Avoid overusing props in styles and instead use proper DOM and ARIA states". I think this advice extends to all CSS-in-JS solutions. Read more
I hadn't used styled-components until about a year ago when I started at my current job. I can't say its my favorite CSS-in-JS option for various reasons. One of those reasons is the pitfall of relying on props for styling, which can do a lot more damage than devs may realize. Read more
There've been some surprisingly incorrect assumptions being made about "microfrontends" since it became a buzzword. Microservices in the browser (I prefer this term over microfrontends) are a totally new paradigm but these bad takes seem to have quite a bit of reach. I'll tackle some of these in this post. Read more
It's 2019 and I still see new code being written which uses non-interactive elements as buttons. Let's rehash why this is a problem. Read more
I recently started a new job and was able to request a new keyboard. I got the Anne Pro with Gateron Red switches, and have mostly liked it. I still felt like there were some improvements to be made, so I took a stab at it. Read more