For a while now, Microsoft has demoed and spoken about their highly hyped WebAssembly framework that aims to blur the lines between front …
Javascript
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, …
Recursively Fetch Data From The GitHub API Using Octokit
Recently I began updating TidyFork to be written in Aurelia 2. As such, I took the opportunity to change how the repositories were loaded in …
How To Calculate A Javascript Date X Months Ago With Vanilla Javascript
Working with dates in 2020 are still a mess. Presumably, they'll also be a mess to work within 2021, 2022 and for a good while after that. …
How To Convert An Object To An Array In Vanilla Javascript
I do quite a lot of work with Firebase and when you are working with authentication claims, they will be returned as an object containing …
How To Add Feature Flags Into Your Javascript Applications
Feature flags are a great way to prevent stale branches by regularly shipping features in your code without officially enabling them. A …