George GriffithsHow trip yourself up with React hooks and break productionRecently I started working in a new React codebase, here is a story of how I “corrected” some hooks code and broke a feature in production11 min read·Jan 10, 2022----
George GriffithsEnsure your site automatically updates in future!If you are using a static site generator you might want to have some static content that periodically updates, such as a year, let’s see…3 min read·Jan 1, 2022----
George GriffithsBeautiful drag and drop interactions with react hooksIn this article we’ll explore how you could build a drag and drop sortable table using @dnd-kit and react-table.6 min read·Dec 19, 2021----
George GriffithsJust a friendly reminder that React isn’t really Just JavaScript (Don’t nest Functional Components)This is my first blog post I’ve written about React, despite reluctantly using it every day due to the UK frontend job market. I’ll…5 min read·Nov 7, 2021--7--7
George GriffithsBuilding progress indicator cards with a single css property4 min read·Oct 20, 2021--1--1
George GriffithsAdding dynamic content from an API to a static website at build time6 min read·Jun 23, 2021----
George GriffithsNatural language search for blog posts using TensorflowJSI’ve been learning TensorflowJS and Machine Learning, as an experiment, I thought I would implement a search across my current blog posts…9 min read·Apr 22, 2021----
George GriffithsType checking global JavaScript libraries in VS Code for when you just want learn and code.Sometimes when you’re prototyping and learning a new library you want a quick way to get type-checking/intellisense/auto-complete to…4 min read·Apr 18, 2021----
George GriffithsMemory leaks and why should you never write such bad code, even for testsThat feeling when you see some awful code, and then realise you wrote it. Here’s a story of how some bad code I wrote in a unit test, made…6 min read·Mar 18, 2021----
George GriffithsBuilding a responsive, progressively enhanced, masonry layout with only CSS and HTML’Masonry layouts, think bricks, think Pinterest, have had many solutions in the web over the years. Many use too much JavaScript, but there…6 min read·Jan 13, 2021----