George Griffiths·Jan 10, 2022How 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 production
George Griffiths·Jan 1, 2022Ensure 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…
George Griffiths·Dec 19, 2021Beautiful 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.
George Griffiths·Nov 7, 2021Just 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…A response icon7A response icon7
George Griffiths·Oct 20, 2021Building progress indicator cards with a single css propertyA response icon1A response icon1
George Griffiths·Apr 22, 2021Natural 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…
George Griffiths·Apr 18, 2021Type 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…
George Griffiths·Mar 18, 2021Memory 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…
George Griffiths·Jan 13, 2021Building 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…