mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 21:34:03 +00:00
496 B
496 B
| title | tweet_id | thread_slug | author_username | images | created_at | slug |
|---|---|---|---|---|---|---|
| You can debounce a function using Alpine.debounce() | 1507455555899564032 | weekly-thread-2022-12 | zepfietje | 2022-03-25T20:33:06+00:00 | 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