Tag: JavaScript
Laurie Barth
Laurie Barth
16 Jul, 2019

Let’s loop – for…in vs for…of

These two alternatives to for loops are wonderful, but they do different things. Let's understand them better!
Laurie Barth
Laurie Barth
10 Jul, 2019

5 Uses for the Spread Operator

JavaScript has a bunch of syntax that aims to make your life easier as a developer. The spread operator is a particularly popular option, so let's see what you can do with it!
Laurie Barth
Laurie Barth
02 Jul, 2019

Introducing Object.fromEntries

We're learning about ES2019 and this entry is all about understanding the Object.fromEntries function.
Laurie Barth
Laurie Barth
25 Jun, 2019

Understanding Array.prototype.flatMap

ES2019 added a new function called flatMap for manipulating arrays. In this post we're going to learn all about it.
Laurie Barth
Laurie Barth
18 Jun, 2019

Demystifying Array.prototype.flat

I'm an ECMAScript junky and I wanted to dive into the latest features! In this post we'll look at Array.prototype.flat.
Laurie Barth
Laurie Barth
11 Jun, 2019

3 Powerful Examples of Destructuring Assignment

ES2015+ introduced so many wonderful features, but destructuring assignment may be one of the most powerful and versatile of them all.
Laurie Barth
Laurie Barth
14 May, 2019

Honey, I Type Checked the Children

The cli added this line of code, it says something about isRequired. So I guess I'll just leave it there?
Laurie Barth
Laurie Barth
07 May, 2019

What’s With All the Props Anyway?

Another day, another piece of boilerplate code that we should explore!
Laurie Barth
Laurie Barth
30 Apr, 2019

Exports and Imports and Defaults, Oh My!

Too often we see throwaway lines of code inside frameworks and projects that we don't take the time to understand. Let's explore export default App in React projects!
Laurie Barth
Laurie Barth
27 Mar, 2019

The Layers of JavaScript

Laurie Barth writes: Recently I was writing up a lesson plan to teach a small group about data display in Gatsby. My goal was to break down the topics and have an answer to all of the low level questions that participants might ask. In the process of doing...