Skip to main content

2 posts tagged with "Javascript"

Blogs related with Javascript.

View All Tags

What is debounce

· 3 min read
Phan Thanh Sang
Front End Engineer @ Sea Limited

Debouncing is a technique used in electronics and software development to ensure that only one signal or event is registered despite multiple signals or events occurring. It's commonly applied in situations where mechanical contacts (like buttons or switches) are involved, which can generate multiple signals due to bouncing.

What is throttle

· 2 min read
Phan Thanh Sang
Front End Engineer @ Sea Limited

Throttling is a technique used in software development to control the rate at which a function is executed. This is particularly useful when dealing with events that can fire frequently, such as window resizing, scrolling, or keystrokes, to ensure that the function is not called too often, potentially causing performance issues.