Intro to Vue.js: Vue-cli and Lifecycle Hooks
This is the third part in a five-part series about the JavaScript framework, Vue.js. We’ll cover Vue-cli, and talk a little more about real-life development processes. …
This is the third part in a five-part series about the JavaScript framework, Vue.js. We’ll cover Vue-cli, and talk a little more about real-life development processes. …
When learning to write JavaScript without jQuery, I found posts like this (also on SitePoint) quite helpful to reference. Now we’re going through that again, in a way, with ES6 replacing some of what we used libraries to help with. …
This is the second part in a five-part series about the JavaScript framework, Vue.js. In this part, we’ll go over Components, Props, and Slots. This is not intended to be a complete guide, but rather an overview of the …
Mariko Kosaka with an elaborate and wonderful metaphor.
What is a Promise in JavaScript? It’s like if you go to a restaurant and order a burger and a shake. The restaurant needs to prepare your food, so after you pay, …
Kayce Basques wrote an excellent interactive tutorial that explores how to debug JavaScript with DevTools. Kayce looks into a number of techniques and options that I was completely unaware of and, as he notes in the beginning of the tutorial, …
I stumbled into an interesting problem the other day. I wanted to animate an element with a random animation-duration
. …
Inspired by Robert C. Martin’s book Clean Code, Ryan McDermott put together a repo with some software engineering best practices as they apply to JavaScript in particular. The repo has tons of great guidelines for beginning programmers, and good …
Steve Souders:
Comparing the ASYNC and DEFER waterfalls, we see that using DEFER makes DOM Interactive fire sooner and allows rendering to proceed more quickly.
Even though <script async></script>
is more commonly seen in the wild, defer
is typically preferable …
Lately, I’ve been obsessed with optimizing performance through lazy-loading. Recently, I’ve written on how to lazy-load Google Maps and on how to lazy-load responsive Google Adsense. Now it’s time for Disqus, a service for embedding comments on your …
People responded quite positively to “Hey designers, if you only know one thing about JavaScript, this is what I would recommend.” Even the YouTube comments were positive.…