Articles
JavaScript, page 11 of 17
JavaScript is probably one of the most‑used programming languages in the world, and a cornerstone of front‑end (and more general) web development. It enables the development of interactivity and features that HTML and CSS alone simply cannot, and includes more advanced concepts like closures, callbacks, and asynchronous programming.
Below you will find a subset of articles from my blog specifically about JavaScript. This is an area that I have worked with for many years, and have managed to write about quite a few times. There are two hundred ninety‑eight collected together for you below.
Disabling Source Maps in Gatsby for Production. 
Image Optimisation with next/image. Image Optimisation with
next/image
Optimising gatsby‑image Even Further. Optimising
gatsby‑imageEven Further
Using Regex to Replace Numbers in a String. Using Regex to Replace Numbers in a String

Intercepting Clipboard Events with JavaScript. Intercepting Clipboard Events with JavaScript

Dynamic Imports and Code Splitting in Next.js. Dynamic Imports and Code Splitting in Next.js

Adding Static Files to a Gatsby Site. Adding Static Files to a Gatsby Site

Automatically Deploy a Static Gatsby Site via FTP. Automatically Deploy a Static Gatsby Site via FTP

Using JavaScript to Avoid Orphans. Using JavaScript to Avoid Orphans

Understanding getStaticPaths in Next.js. Understanding
getStaticPathsin Next.js
Use Greater‑Than and Less‑Than Symbols in JSX. Use Greater‑Than and Less‑Than Symbols in JSX

Commenting in JSX. Commenting in JSX

GetStaticProps vs. getServerSideProps in Next.js. getStaticPropsvs.getServerSidePropsin Next.js
Building Custom Hooks in React. Building Custom Hooks in React

Static Generation vs. Server‑Side Rendering in Next.js. Static Generation vs. Server‑Side Rendering in Next.js

Throttling vs. Debouncing in JavaScript: Managing Event Frequency. Throttling vs. Debouncing in JavaScript: Managing Event Frequency

How to Replace All Instances of a String in JavaScript. How to Replace All Instances of a String in JavaScript

Understanding Element Dimensions in JavaScript: Width and Height. Understanding Element Dimensions in JavaScript: Width and Height