PurgeCSS Extractor for HAML

We’re using the Tailwind framework for the new DocRaptor marketing website. We’re also continuing to use HAML for our templating system.

The Tailwind library is an enormous 3MB so it uses PurgeCSS to remove unused CSS styles from your production CSS…


In Pursuit of Perfect Locking

By Nathan Acuff and Jason Gladish

Phil Karlton famously noted that there are only two hard problems in Computer Science: cache invalidation and naming things. To this list, many have added off-by-one-errors. What happens when you decide to take on a…


How and Why We Pair

By Tony Dewan

Over the last few years, most of the product teams at Expected Behavior have…


Testing Promises Indirectly with Jest

By Tony Dewan

I recently ran into difficulty creating obvious and readable tests for React components that indirectly rely on promises. I ended up with a handy workaround that allows both native asynchronous and test-friendly synchronous…


How We Write Commit Messages

By Tony Dewan and Jason Gladish

Why Commit Messages Matter

If you’ve worked on a codebase of any age or with many collaborators, you’ve surely had the question: “why is this code this way?”

Expected Behavior Blog
Expected Behavior Blog
We're a team of friends who build awesome software together. We run Instrumental, a super duper high-scale server and application monitoring tool, and DocRaptor, an HTML-to-PDF conversion API. This blog is just random things we've learned along the way.
More information
Followers
30
Elsewhere