What is page jank?

What is page jank? According to the Jank Free website: Jank is any stuttering, juddering or just plain halting that users see when a site or app isn’t keeping up with the refresh rate. So, essentially, if your users ever notice any awkward movements on your...

Throttling events with setTimeout

Time and time again, we need to listen for an event (scroll, keyup) and execute some arbitrary code when that event fires. If you do this enough, you’ll likely run into a situation where you are just receiving way too many events. In these cases, it’s best...

Best ways to learn React.js

React.js is definitely the most popular JavaScript framework these days. I’ve spent a good amount of time using a lot of different resources to learn it and I thought it would be cool to share those with you! Egghead.io Price – $19.99 per month Description...

Moment.js, get the next day of the week

Moment.js is a JavaScript library that helps you do pretty much anything you could ever need with dates! Specifically, it helps you parse, validate, manipulate, and display dates in JavaScript.   Today I was writing a little program and I needed to find the date...

Node Module Walk-Through: Deep Freeze

Deep freeze is a great module from the prolific Substack. Before we get into how it works, let’s talk about what it is. According to the readme, deep freeze is used to: recursively Object.freeze() objects Object.freeze is a built in JavaScript method that allows...

Node Module Walk-Through: Get Port

I had a fun idea for a new blog post series. We’ll pick an NPM module and walk through it together! Hopefully learning some cool things along the way. Today’s module is get-port by the awesome Sindresorhus! It’s a very simple module that returns an...