Caleb O.

6 min read

29 Jul, 2024

How I fixed a UX issue with a Polling mechanism

Because we can't exactly pinpoint when a request is complete or successful, the approach above will be inefficient

#react

#ux

|

5 min read

12 Jul, 2024

I opened three Next.js projects with Zed and my PC did not prepare for liftoff

Trying Zed for the first time

#devtools

#ide

|

5 min read

11 May, 2024

Monkey patching: refresh token mechanism in React

Intercept network requests by monkey patching the native fetch API

#auth

#react

#nextjs

|

5 min read

26 Feb, 2024

OAuth with Supabase in a Vite React app

For starters, if you want to enable OAuth in your app with Supabase, you would need to use a snippet similar...

#react

#auth

|

4 min read

11 Feb, 2024

How to use react-spring with Chakra UI

Here's how you can use react-spring in a ChakraUI project

#animation

#chakraui

|

7 min read

26 Jan, 2024

Moving husky pre-commit hook into Github Actions

And to even improve the experience of devs on the team, it is better to move this process into a CI environment.

#actions

#automation

|

3 min read

15 Jan, 2024

Blur images onLoad with Next.js

Learn how to blur images onLoad with Next.js Image component

#nextjs

#react

|

7 min read

10 Jan, 2024

Querying a MongoDB collection

How to query a MongoDB collection in a Next.js app with API routes and SWR

#nextjs

#mongodb

#swr

|

16 min read

08 Jan, 2024

2023 — Outside the four walls of a classroom

Last year, I was poor, became broke, and now I'm preaching the gospel of pepper.

#life

#year-in-review

|

5 min read

28 Dec, 2023

Edge function timeouts of next/image on Netlify

You might run into a serverless/edge function timeout error with a 502 status code, causing your images to be broken in production. This is how to fix it.

#nextjs

#netlify

|