Thoughts, explanations, and musings, usually on web development.

As an Engineer, Write

June 01, 2020 / guest post on

A post on behalf of my team about why growing in your craft requires writing more than just code.

Why Webpacker Wouldn't Compile Assets in a Specific Environment

April 13, 2020

A while back, I started working in a Rails application in which I needed to introduce a JavaScript file that’d be compiled with Webpacker. To do so, I created the file in my directory and loaded it up via : Locally, things worked great! But once I…

Clean Up Your Redux Store Listeners When Component State Updates

March 30, 2020

I’m writing a Gutenberg block for TypeIt that’ll allow content creators to easily drop typewriter effects into WordPress. The Gutenberg infrastructure is heavily rooted in the React ecosystem, so building a block feels very much like building a React…

Streamlining Conditional Statements with Logical Operators

March 09, 2020

I’ve been seeing my preference change in how I write simple conditional statements in JavaScript. Consider the following: Back in the day, that’s how just about every “if I have this, then do this” statement looked. As complexity and context changed…

If the Democratic Presidential Candidates Were JavaScript Packages

January 19, 2020

BernieSanders.js - a helper library for making next-generation punch card programs for the browser. ElizabethWarren.js - a probability and statistics library widely used in reservation casinos. AmyKlobuchar.js - a highly opinionated alternative to…

A Plot Proposal for Frozen III

December 28, 2019

Kristoff, seeking a career more marketable than being an iceman, enrolls in a coding bootcamp in the Southern Isles, where a bitter and vengeful Prince Hans has been forced by his brothers to maintain a legacy Backbone application. Faking a change of…

For the Sake of Your Event Listeners, Use Web Workers

November 26, 2019

I’ve been tinkering with the Web Worker API lately, and as a result, I’m really feeling the guilt of not looking into this well-supported tool a lot sooner. Modern web applications are seriously upping demands on the browser’s main thread, impacting…

Blog for Your Own Sake

November 10, 2019

The front-end development space is exhausting. It moves too fast, contains too much, and it won’t wait for you to catch up. It’s hard. One thing that makes it eaiser is writing about it all — the problem solving, the tinkering with new technologies…

© Alex MacArthur | 2020