Recreating Lodash Throttle from Scratch

Master JavaScript rate-limiting by building your own custom throttle utility to optimize application performance and handle high-frequency events.

⏱ 1 ساعة 39 دقيقة 📚 3 درس 🎧 النسخة الصوتية

حول هذه الدورة

High-frequency events like scrolling, resizing, or typing can severely degrade web application performance if left unchecked. Understanding how to control these events is a crucial skill for any modern web developer. In this text-based course, you will learn the inner workings of rate-limiting by building a fully functional, simplified version of the popular lodash.throttle utility from scratch. You will master core JavaScript concepts like closures, timers, and execution context to write highly optimized, performance-friendly code. What you'll learn: Understand the fundamental differences between throttling and debouncing in modern web development; Master JavaScript closures and scope to maintain state across function executions; Implement timing controls using native asynchronous APIs; Build a custom, reusable throttle function to optimize event listeners; Apply modern ES6+ syntax and clean code practices to write maintainable utility functions; Test your throttle implementation to ensure reliable performance under heavy event loads. The course starts with foundational definitions of rate-limiting and the event loop before guiding you step-by-step through writing, refactoring, and verifying your own custom throttle utility. This course is designed for beginner to intermediate JavaScript developers looking to deepen their understanding of asynchronous programming and performance optimization, with no advanced prerequisites required. Start reading today to master performance optimization from the ground up.

ما الذي ستحصل عليه

  • 📜 شهادة إتمام
    أضفها إلى ملفك على LinkedIn
  • 🎧 النسخة الصوتية مضمَّنة
    تعلَّم أثناء تنقُّلك — دون شاشة
  • ♾️ وصول مدى الحياة
    عُد متى شئت، بلا انتهاء
  • 📱 الهاتف أو الكمبيوتر
    يعمل في أي مكان وعلى أي جهاز
  • 💸 استرداد خلال 30 يومًا
    دون أسئلة
  • قصير ومركَّز
    1 ساعة 39 دقيقة من المحتوى التطبيقي

المراجعات

لا توجد مراجعات بعد — كن أول من يشارك تجربته.

اكتب مراجعة

سنطلب منك تسجيل الدخول بعد الإرسال — تُحفظ مسودتك.

المتعلمون أخذوا أيضًا

الأسئلة الشائعة

ما الذي أحتاجه لأخذ هذه الدورة؟ +

يكفي هاتف أو كمبيوتر متصل بالإنترنت. بدون تثبيتات أو أجهزة خاصة.

كيف يمكنني الدفع؟ +

بالبطاقة عبر Stripe أو بالعملات الرقمية. لا نخزن بيانات البطاقة — يتولى Stripe ذلك بأمان.

هل يمكنني استرداد المال؟ +

نعم — استرداد كامل خلال 30 يومًا، دون أسئلة.

إلى متى يستمر وصولي؟ +

إلى الأبد. بمجرد الشراء، الدورة لك تعود إليها متى شئت.

هل سأحصل على شهادة؟ +

نعم. عند الإتمام ستحصل على شهادة يمكنك إضافتها إلى ملفك في LinkedIn.

مصمَّم للعاملين في
التقنية التصميم المالية التسويق الرعاية الصحية التعليم الضيافة التصنيع