Roll Your Own Debounce
Debounce is a technique used to ensure that a function is not called more than once in a given time period. This can be useful when dealing with events that fire rapidly, such as scroll or resize events, or input events that might trigger API calls. Alot of people import 3rd party libraries to handle this, but it鈥檚 actually quite simple to implement yourself. So, in this post, we鈥檒l look at how to roll our own debounce functionality in JavaScript. ...
My First Post
Welcome to my dev blog! As you might already tell by the title, this is my first post. The goal is to document dev stuff I think is interesting, and to do so in a way that other鈥檚 will find useful. Let鈥檚 see where things go! We鈥檙e going to be writting a fair bit of code here so lets test a code snippet: console.log('Hello, world!');