Detecting Browser Dark Theme in React
#javascript
#typescript
#react
#hooks

Detecting Browser Dark Theme in React 2024-01-23

Once and for all be sure the dark theme is on for your React application.

Optimizing Images for our JSX+Bun SSG
#javascript
#typescript
#bun
#jsx
#ssg
#performance

Optimizing Images for our JSX+Bun SSG 2024-01-22

In this article we make our Bun+JSX SSG more web vital by optimising images to have the right size and be served in .webp.

An 85 Lines of Code Static Site Generator with Bun and JSX
#from-scratch
#guide
#javascript
#typescript
#bun
#jsx
#ssg

An 85 Lines of Code Static Site Generator with Bun and JSX 2024-01-18

In this short guide we'll go through the step-by-step process of creating an SSG from scratch using Bun and JSX.

Factory Arrow Functions in TypeScript
#typescript

Factory Arrow Functions in TypeScript 2020-09-18

This article describes an alternative to classes for instantiating objects from a template in TypeScript.

Factory Arrow Functions in JavaScript
#javascript

Factory Arrow Functions in JavaScript 2020-09-18

This article describes an alternative to classes for instantiating objects from a template in JavaScript.