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.
Frontend engineer writing about JavaScript, React, and the web.
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.
I served as Frontend Engineering Lead at Compass on Home Platform, rolling out across Coldwell Banker Realty, Corcoran, Sotheby's International Realty, and @properties.
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's real estate dashboard has been recognized with an Inman Innovator Award for cutting-edge technology and user-friendly design.
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.
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.
Discover why avoiding mocks in Jest enhances testing. Learn strategies for resilient, standards-based tests that improve code maintainability and reliability.
Learn how to emulate matchMedia in Jest for responsive design testing. Create a reusable test helper to check code at different breakpoints.
Optimize Git in monorepos with an optimized Git config. Follow clear steps to boost CPU performance and workflow efficiency
Learn how to test API calls in components with examples in React and Jest. Write tests flexible enough for change
Create a safe environment to take risks, build confidence, and write legible code. Learn how to start with Javascript, React
npm scripts can become unruly quickly, especially when working with an evolving code base. Learn the joy of tidying with nps ✨
Learn how to leverage ESLint, Prettier with Typescript to reduce bugs and nitpicky reviews. I'll walk you through setup, explain the differences
SASS nesting promised clean, scoped styles. Native CSS nesting delivers the same promise. The problem was never the preprocessor.