You can debounce a function using Alpine.debounce()

❓ Using Alpine.js and need to debounce a function?

❌ You don't need JavaScript libraries like lodash.

✅ Just use Alpine.debounce() which is also used internally for the x-on:input.debounce="" modifier.

Cc: @calebporzio

We're writing a book, you can get it for free here.