RSSAmplifier

Blog

Anthony Gonzales

Frontend engineer writing about JavaScript, React, and the web.

anthonygonzal.esRSS feed ↗15 posts

Latest posts

Stop checking NODE_ENV in your frontend

Why checking process.env.NODE_ENV or hostname in your frontend is an antipattern, and how to let your build process resolve the right value instead.

Launching Home Platform

I served as Frontend Engineering Lead at Compass on Home Platform, rolling out across Coldwell Banker Realty, Corcoran, Sotheby's International Realty, and @properties.

Promoted to Staff Engineer

Celebrating my promotion to Staff Engineer at Compass after 8 years. Grateful for the journey from IC2 to IC5 and excited for what's next.

Compass One Wins Inman Innovator Award 2025

Compass One's real estate dashboard has been recognized with an Inman Innovator Award for cutting-edge technology and user-friendly design.

Building a transaction dashboard on Compass

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.

Introducing Compass One

As Frontend Lead for Compass One, I helped build the first real estate client dashboard that combines major platform products into an industry-first solution.

How to test React Router components with Testing Library

Discover why avoiding mocks in Jest enhances testing. Learn strategies for resilient, standards-based tests that improve code maintainability and reliability.

Fix TypeError: window.matchMedia is not a function in Jest

Learn how to emulate matchMedia in Jest for responsive design testing. Create a reusable test helper to check code at different breakpoints.

How to improve Git monorepo performance

Optimize Git in monorepos with an optimized Git config. Follow clear steps to boost CPU performance and workflow efficiency

Testing components that make API calls

Learn how to test API calls in components with examples in React and Jest. Write tests flexible enough for change

Why learn Test-Driven Development?

Create a safe environment to take risks, build confidence, and write legible code. Learn how to start with Javascript, React

The joy of tidying npm scripts with nps

npm scripts can become unruly quickly, especially when working with an evolving code base. Learn the joy of tidying with nps ✨

Setup Prettier and ESLint with Typescript

Learn how to leverage ESLint, Prettier with Typescript to reduce bugs and nitpicky reviews. I'll walk you through setup, explain the differences

Don't nest CSS

SASS nesting promised clean, scoped styles. Native CSS nesting delivers the same promise. The problem was never the preprocessor.

Hello World!