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 productionJan 10, 2022Jan 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…Jan 1, 2022Jan 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.Dec 19, 2021Dec 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…Nov 7, 20217Nov 7, 20217
George GriffithsBuilding progress indicator cards with a single css propertyOct 20, 20211Oct 20, 20211
George GriffithsAdding dynamic content from an API to a static website at build timeJun 23, 2021Jun 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…Apr 22, 2021Apr 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…Apr 18, 2021Apr 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…Mar 18, 2021Mar 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…Jan 13, 2021Jan 13, 2021