I was recently tasked with implementing pagination for an array of values (in some instances, over 2400 of them) and instead of using an …
Javascript
Convert a HTML Dropdown To an Object
I had a rather interesting use-case recently where I needed to take the contents of an HTML dropdown on a website which had timezones and …
Moment.js Officially Becomes A Legacy Project In Maintenance Mode
Well, here is an announcement that probably won't surprise anyone who has used Moment in the last few years, especially trying to get the …
Does @types/node have to be the same version as Node?
You'll notice from time-to-time that Node.js will release a new minor version and sometimes a major version. If you're working with …
Is Blazor The Future of Development?
For a while now, Microsoft has demoed and spoken about their highly hyped WebAssembly framework that aims to blur the lines between front …
Sure, map(), .filter(), and .reduce() Are Great and All, But Don’t Use Them In Place of Common Sense
I see a lot of questionable blog posts and articles out there about Javascript. And, I should know, I have written some of them myself in …
How To Create An Iframe and Populate It With Dynamic HTML In Javascript
At work recently, I had a use-case where I needed to show a preview of some HTML dynamically sent from the server inside of an iFrame. It …
Waiting For Elements To Exist In The Dom With User-specified Attempts
I had to implement some testing logic recently where I wanted to wait for a heavy page to load and for specific elements to become …
How To Handle Async/Await Errors in Javascript
Some developers are still new to async/await in Javascript. If you're used to callbacks or using .then to get the value of a promise, …