You can debounce a function using Alpine.debounce()
- ·
- Telegram
- ·
- Newsletter
❓ 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