1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 13:24:03 +00:00
laravel-tips/content/tips/you-can-debounce-a-function-using-alpinedebounce.md
2022-03-26 13:32:34 +01:00

16 lines
No EOL
496 B
Markdown

---
title: 'You can debounce a function using Alpine.debounce()'
tweet_id: '1507455555899564032'
thread_slug: weekly-thread-2022-12
author_username: zepfietje
images: { }
created_at: 2022-03-25T20:33:06+00:00
slug: you-can-debounce-a-function-using-alpinedebounce
---
❓ 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