Blog

Mastering CSS Custom Properties (Variables) for Scalable Design Systems
Almost every CSS codebase uses custom properties by now. Most of them use them the same way: a list of colors at the top of a stylesheet, referenced
Continue Reading
CSS Grid vs. Flexbox: When to Use Which?
CSS Grid and Flexbox are both fully supported in every modern browser, both handle alignment beautifully, and both can produce layouts that look almo
Continue Reading
MongoDB Transactions: When and How to Use Multi-Document ACID Transactions
For a long time, "MongoDB doesn't do transactions" was a standard objection in database debates. It hasn't been true since MongoDB 4.0 added multi-do
Continue Reading
Database Migrations in MongoDB: Tools and Strategies for Evolving Data
One of MongoDB's selling points is that you don't have to run ALTER TABLE to add a field. That's true, and it's genuinely useful early in a project
Continue Reading
Native CSS Nesting: Do You Still Need Sass?
Ask a developer why they installed Sass, and the most likely answer is "nesting". Being able to write a component's styles inside one block, with hov
Continue Reading
Using $facet in MongoDB to Build Multi-Faceted Search Results
Look at any decent product search page. Next to the results there's a sidebar: brands with counts beside them, price bands, ratings, a "showing 1–24
Continue Reading