In this video, we look at what throttling is and how it helps with increasing efficiency when it comes to making function calls. We also look at a couple of ways to create our own throttle polyfill which is also a common interview question.
Debounce polyfill video: • Why the debounce polyfill works: Part 1
⌚Timestamps:
0:00 - Intro
2:41 - Project setup
3:09 - Using a closure
3:56 - Args edge case
4:55 - Polyfill logic for approach 1
9:45 - Polyfill logic for approach 2
12:09 - The method edge-case
15:27 - Outro
🧑💻Other playlists:
Playwright crash course: • Playwright + React Crash Course (2024)
Tanstack query - • React/Tanstack Query(2024)
Push Notifications using SW - • Push Notifications using Service worker
Service worker in Javascript (2023) - • Service worker in Javascript (2023)
Javascript observers(2023) - • Javascript Observers(2023)
The Web components Playlist - • Web components 2023
The Git series(2023) - • The Git series(2023)
Multitasking in NodeJS - • Multi tasking in NodeJS
NodeJS Authentication with Passport - • NodeJS Authentication with Passport(2...
Job scheduling in NodeJS - • Job scheduling in NodeJS
NPM Tutorial Series - • NPM Tutorial Series (2021)
Javascript(Behind the scenes) - • Javascript(Behind the scenes)
😎Socials
🐤 Twitter - / themangalorian
📷 Instagram - / _alt.ar_
👔 LinkedIn - / akilesh-rao-610357137
🧑💻 GitHub - https://github.com/AkileshRao
📝 Medium - / akileshrao19