Stop checking the environment in your frontend
Why environment branching in the browser eventually chooses wrong, and the build-time contract that replaces it.
Staff Frontend Engineer in NYC, building software for real estate agents at Compass. He writes about the work: how it’s architected, how it’s built, and what he learns making it. He keeps a list of what he reads.
Why environment branching in the browser eventually chooses wrong, and the build-time contract that replaces it.
Case study: Leading engineering teams to build Compass One, a real estate transaction dashboard that boosted client engagement by 43% with 4.5/5 satisfaction.
Rendering routed components under test without mocking the router away.
The one-line JSDOM shim, and why the error appears in the first place.
Speed up Git in large monorepos with fsmonitor, commit graphs, and fetch optimizations.
Mock the network boundary, not your own modules.
Rollout across four Compass brands
Client dashboard, launched · Inman Innovator Award
Open source, ongoing
Donna Tartt
Daniel Kraus
Matt Dinniman