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 in Real Apps: Part 2
7 min read
Use React useSyncExternalStore with browser APIs, localStorage, selectors, SSR, and practical external state patterns.
# 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.