Craig Jones

Hi there 👋

My name is Craig. I am a Software Engineer based in the NW of England. This blog will be a dump of my learnings. Expect it to be littered with mainly Tech articles but certainly not limited to that!

Blog

tech

Creating a bot using the Bluesky API

Bluesky Logo
Having recently started using Bluesky, I was interested in how good the API is. It turns out its extremely straightforward. I decided to build a bot which displays which horse racing meetings are on, on the current day, with their first race time.
Read More
tech

Understanding useMemo and useCallback in React

useMemo + useCallback
React, the popular JavaScript library for building user interfaces, provides several hooks to optimize performance and manage state in functional components. Two commonly used hooks for optimization are `useMemo` and `useCallback`. While both serve similar purposes, they have distinct use cases and can significantly enhance the efficiency of your React applications.
Read More
tech

Capturing Vercel Logs with Better Stack - A Simple Guide

Better Stack Dashboard
Logging is an essential aspect of monitoring and debugging applications deployed on serverless platforms like Vercel. Vercel provides built-in logging capabilities but with the huge caveat (for my application anyway) that they expire after 1 hour. Here's how to get around it.
Read More