mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 21:34:03 +00:00
Week 12/2022 (#29)
This commit is contained in:
parent
b451d14953
commit
de8e3941e1
14 changed files with 144 additions and 1 deletions
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue