Tag

throttle

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 17, 2024 · Frontend Development

Implementing Scroll-Driven Animations in Vue3 with Throttling for Performance

This article explains how to create Apple‑style scroll‑driven line and list‑item animations in a Vue3 website by using a normalized scroll formula, adjusting it for specific sections, and applying a throttle algorithm to keep the animations smooth and performant.

JavaScriptScroll AnimationVue3
0 likes · 8 min read
Implementing Scroll-Driven Animations in Vue3 with Throttling for Performance
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 19, 2024 · Frontend Development

Preventing Duplicate API Requests in Front‑end Development with Debounce, Throttle, Loading Locks, and Axios CancelToken

The article explains why repeated button clicks or searches cause duplicate API calls, discusses why debounce/throttle are not ideal, and presents three practical solutions—loading state locking, request cancellation with Axios CancelToken, and related code examples—to efficiently avoid redundant requests in Vue applications.

APIAxiosDebounce
0 likes · 7 min read
Preventing Duplicate API Requests in Front‑end Development with Debounce, Throttle, Loading Locks, and Axios CancelToken
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 16, 2023 · Frontend Development

Implementing Input Debounce and Throttle in Vue 3 Directives with Chinese Input Support

This article explains how to create a reusable Vue 3 directive that applies debounce and throttle to input events, addresses the extra triggers caused by Chinese IME composition, and provides complete TypeScript code examples and usage instructions.

DebounceDirectiveJavaScript
0 likes · 9 min read
Implementing Input Debounce and Throttle in Vue 3 Directives with Chinese Input Support
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 27, 2022 · Frontend Development

Understanding Closures and Currying in JavaScript: Functional Programming Essentials

This article explains how closures and currying form the core of JavaScript functional programming, demonstrates multiple curry implementations, shows practical uses such as argument caching, debounce/throttle, and lodash utilities, and highlights their relevance for front‑end developer interviews.

ClosuresCurryingDebounce
0 likes · 14 min read
Understanding Closures and Currying in JavaScript: Functional Programming Essentials
New Oriental Technology
New Oriental Technology
Jun 17, 2022 · Frontend Development

Understanding JavaScript Throttle and Debounce: Concepts, Code Examples, and Practical Applications

This article explains the fundamental differences between JavaScript throttle and debounce techniques using an intuitive real-world analogy, provides clear code implementations, compares their execution behaviors, and demonstrates practical usage scenarios with the Lodash library for optimizing frontend event handling.

DebounceEvent HandlingFrontend Development
0 likes · 7 min read
Understanding JavaScript Throttle and Debounce: Concepts, Code Examples, and Practical Applications
NetEase Game Operations Platform
NetEase Game Operations Platform
Feb 16, 2019 · Frontend Development

Understanding Debounce and Throttle for Web Front‑End Performance Optimization

This article explains the concepts, implementations, and practical use cases of debounce and throttle in JavaScript, showing how they limit function call frequency to improve front‑end UI performance for events such as scrolling, resizing, and input handling.

DebounceJavaScriptPerformance
0 likes · 7 min read
Understanding Debounce and Throttle for Web Front‑End Performance Optimization
Yuewen Frontend Team
Yuewen Frontend Team
Jun 15, 2018 · Frontend Development

How We Boosted Qidian Reading Page Performance with Preloading and Throttle

This article details how the Qidian reading page was optimized by advancing the scroll trigger, continuously preloading upcoming chapters, and applying a throttled scroll handler, resulting in sub‑second load times, minimal loading indicators, and a smoother user experience.

JavaScriptOptimizationPerformance
0 likes · 9 min read
How We Boosted Qidian Reading Page Performance with Preloading and Throttle