Hi I’m Ray, a software engineer with 5+ years of experience. Here, I share my experiences, thoughts, lessons, and experiments related to software development.
Tags
Latest Posts
# useSyncExternalStore, Without the Mystery: Part 1
6 min read
Learn the basic useSyncExternalStore contract and what React roughly does internally when an external store changes.
# JavaScript's Event Loop, Without the Headache
11 min read
A practical deep dive into the JavaScript event loop, call stack, task queue, microtasks, rendering, and async code.
# Building a Poor Man's React Query from Scratch
12 min read
Do you ever use TanStack Query and think, “Wow, this library is so cool & convenient, they really thought about every edge case and made it easy to use. I wish I could build something like this…