---
title: "James Williams (@jameswill1ams) | Hashnode"
description: "James Williams (@jameswill1ams) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@jameswill1ams"
---

@jameswill1ams

# James Williams

@jameswill1ams · Joined August 2020

### [Lazy state initialization with React](https://jameswilliams.hashnode.dev/lazy-state-initialization-with-react?utm_source=hashnode&utm_medium=feed)

If you are familiar with the useState hook in React, you know that it's a function that's called each time our component renders. The function returns an array of two values, and we usually use JavaScript destructuring to both declare a variable for ...

5 min read · [jameswilliams.hashnode.dev](https://jameswilliams.hashnode.dev/lazy-state-initialization-with-react?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/lazy-state-initialization-with-react/5ffe0012b00f7510ee9585a2) [Jan 12, 2021](https://hashnode.com/posts/lazy-state-initialization-with-react/5ffe0012b00f7510ee9585a2)

### [Svelte basics: Starting a project from scratch.](https://jameswilliams.hashnode.dev/svelte-basics-starting-a-project-from-scratch?utm_source=hashnode&utm_medium=feed)

Despite its "new kid on the block" reputation, Svelte was created back in 2016. The obvious comparisons are with React and Vue. So, how is Svelte different? It's described as a compiler, it takes your declarative code, and turns it into the equivalen...

7 min read · [jameswilliams.hashnode.dev](https://jameswilliams.hashnode.dev/svelte-basics-starting-a-project-from-scratch?utm_source=hashnode&utm_medium=feed)

[Jan 7, 2021](https://hashnode.com/posts/svelte-basics-starting-a-project-from-scratch/5ff712bbaa5c467fe15563eb)

### ["Hello, World!" with Eleventy: Another static site generator.](https://jameswilliams.hashnode.dev/hello-world-with-eleventy-another-static-site-generator?utm_source=hashnode&utm_medium=feed)

Eleventy(11ty) first appeared in 2018, and describes itself as a "simpler static site generator". According to the creator, the inspiration for 11ty was a desire for a utility tool like Jekyll, written in node. The main core of Eleventy is that it t...

11 min read · [jameswilliams.hashnode.dev](https://jameswilliams.hashnode.dev/hello-world-with-eleventy-another-static-site-generator?utm_source=hashnode&utm_medium=feed)

[Jan 5, 2021](https://hashnode.com/posts/hello-world-with-eleventy-another-static-site-generator/5ff495f2e8e57e1374e6921a)

### [JavaScript Quirks: Dot vs. Bracket - Not all notation is created equally](https://jameswilliams.hashnode.dev/javascript-quirks-dot-vs-bracket-not-all-notation-is-created-equally?utm_source=hashnode&utm_medium=feed)

You probably have noticed there are two ways to access a property on an object: Dot notation Bracket notation Naturally, you might assume they behave in the same way, but that's not quite the case. We will examine some differences below. Dot notati...

3 min read · [jameswilliams.hashnode.dev](https://jameswilliams.hashnode.dev/javascript-quirks-dot-vs-bracket-not-all-notation-is-created-equally?utm_source=hashnode&utm_medium=feed)

[3](https://hashnode.com/posts/javascript-quirks-dot-vs-bracket-not-all-notation-is-created-equally/5f6334260f115919981fce8b) [Sep 17, 2020](https://hashnode.com/posts/javascript-quirks-dot-vs-bracket-not-all-notation-is-created-equally/5f6334260f115919981fce8b)

### [GreenSock (GSAP) basics - Web Animation in your browser](https://jameswilliams.hashnode.dev/greensock-gsap-basics-web-animation-in-your-browser?utm_source=hashnode&utm_medium=feed)

What exactly is a tween? The first time I heard the word "tween", I wasn't totally sure what it meant. Simply put, a tween is a sequence of frames. In a digital context, basically a tween is an animation. So how do we make them? Luckily for us, lots ...

3 min read · [jameswilliams.hashnode.dev](https://jameswilliams.hashnode.dev/greensock-gsap-basics-web-animation-in-your-browser?utm_source=hashnode&utm_medium=feed)

[4](https://hashnode.com/posts/greensock-gsap-basics-web-animation-in-your-browser/5f57e554edbc0327d34aff10) [Sep 8, 2020](https://hashnode.com/posts/greensock-gsap-basics-web-animation-in-your-browser/5f57e554edbc0327d34aff10)
