Blog posts on "tip"

  • ENMocking Ghost Methods in Vitest

    Mocking "ghost" methods in Vitest is hack I discovered while mocking with Vitest. It allows you to create virtual methods for testing purposes. This article explores how to implement this concept effectively.

  • ENUsing Container Queries with Tailwind Safely in Production

    Did you know you can already use Container Queries in production today? Little catch — as long as you do it with a "Progressive Enhancement" approach! I'm going to share with you a real-world example to allow you to use container queries to build responsive typography, with progressive enhancement in mind.