Posts with #frontend

6 min read

Sun, 10 August 2025

Illustration of interconnected nodes

React Hooks: A Practical Guide for Real-World Frontend Development

React hooks simplify state and side-effect management, but they're also easy to misuse. Here's a practical guide to mastering hooks in real-world projects, without falling into common traps.

8 min read

Mon, 4 August 2025

Illustration of old car left in the desert

When DRY Goes Wrong: The Case Against Early Abstractions

Premature abstractions can do more harm than good. Learn when repetition is better and how to know when to abstract safely.

4 min read

Fri, 6 June 2025

A wooden door with a padlock.

Frontend Security: A Practical Guide

Frontend developers are often the first line of defence against cyberattacks. Here's a practical guide to the most common threats and how to prevent them

5 min read

Tue, 20 May 2025

Abstract image of yellow painting

Performance Doesn't Matter Until It Works

Performance is only valuable once your code works, is correct, and is readable. Build in that order and only optimise where it matters.

4 min read

Tue, 22 April 2025

Abstract image of an orange painting, describing the modern element in the strategies for modern react apps

Testing Strategies for Modern React Apps: Unit, Integration, and Visual Regression

Testing React apps doesn't have to be scary. Learn the basics of unit, integration, and visual regression testing with popular tools.

5 min read

Sat, 19 April 2025

A messy table full with sticky notes and pens

How To Actually Test Your Frontend Code

Writing tests on the frontend that matter is hard. What exactly to test can feel a bit mysterious and can lead to bad practices of either test the wrong things or testing less critical stuff on the page

6 min read

Thu, 17 April 2025

A white screen laptop and two hands typing on the laptop

Why I Stopped Obsessing Over 100% Unit Test Coverage

Our CI pipelines required 100% coverage. Here's how it backfired and what I now focus on instead.