Limiting the rate at which functions are called is a powerful performance optimisation. Throttle and debounce and common examples of rate limiting functions. In this talk, I will build a throttle and debounce function from scratch to show you what benefits rate-limiting functions provide and how they work
If you are newer to JavaScript there is content for you too! Rate limiting functions exercise a lot of interesting language features and techniques that you can use in lots of different contexts.
Смотрите видео Rate-limiting from scratch - Alex Reardon онлайн без регистрации, длительностью 16 минут 40 секунд в хорошем качестве. Это видео добавил пользователь ANZ Coders 25 Июль 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,809 раз и оно понравилось 48 людям.