vue.joedoe.dev

Pocket Vue

The composables and patterns I repeat from project to project, the cheat sheet I always end up looking for, and my Vue bookmarks.

Recipe of the day

A different one every day, running right here. Click it, type in it, break it.

Search without hammering: a debounced ref

With customRef the ref only reports once you stop typing. It works with v-model as is, and search doesn't fire on every key.

See the code →

Búsquedas hechas: 0

  • albaricoque
  • cereza
  • ciruela
  • fresa
  • granada
  • higo
  • kiwi
  • mango
  • melocotón
  • membrillo
  • naranja
  • pera

Recipes

Each one is a real component running on the page, with its code alongside to copy.

All the recipes →

Cheat sheet

The Composition API with <script setup> on one page, including what's new in 3.5.

Open the cheat sheet →

Check your AI's Vue

Did a chat write that component? Paste it and I'll flag what usually goes wrong: lost reactivity, mutated props, listeners never removed… with the fix and a report to hand back.

Check a component →

Why Vue?

When it fits and when it doesn't, against React, Svelte, Angular and Solid, and when you need no framework at all.

See the comparison →

Libraries, tools, places to learn and the people who make Vue. They come from the joedoe.dev shelf.

All the links →

↑↓ move · ↵ open · esc close