Daishi Kato's Read the Code logo
Daishi Kato's Read the Code
Subscribe
  • Daishi Kato's Read the Code
  • Archive
  • Page 3

Archive

How the Jotai Store API Is Inspired by the WeakMap API
Mar 12, 2025

How the Jotai Store API Is Inspired by the WeakMap API

Its Implementation Is Also Full of WeakMaps

Daishi Kato
Daishi Kato
A Challenge with Proxies for State Usage Tracking
Mar 08, 2025

A Challenge with Proxies for State Usage Tracking

One Limitation of Proxy-Based Solutions Like proxy-compare

Daishi Kato
Daishi Kato
How Proxies Help State Usage Tracking
Mar 05, 2025

How Proxies Help State Usage Tracking

proxy-compare is an Internal Library Used in Valtio

Daishi Kato
Daishi Kato
Why Proxy Cache Is Important in Valtio
Mar 02, 2025

Why Proxy Cache Is Important in Valtio

Proxy Cache Is Based on WeakMap

Daishi Kato
Daishi Kato
How to Check for Memory Leaks in Unit Tests
Feb 26, 2025

How to Check for Memory Leaks in Unit Tests

Reading Jotai Test Code and Its Dependency Library

Daishi Kato
Daishi Kato
When We Should Use WeakMap and WeakSet
Feb 24, 2025

When We Should Use WeakMap and WeakSet

Jotai Uses Them a Lot, and You Might Wonder Why

Daishi Kato
Daishi Kato
Recursive Proxies to Support Nested Objects
Feb 21, 2025

Recursive Proxies to Support Nested Objects

Two Approaches: Eager Wrapping and Lazy Wrapping

Daishi Kato
Daishi Kato
Why We Use Reflect for Proxy Handlers
Feb 18, 2025

Why We Use Reflect for Proxy Handlers

Valtio Uses It to Cover Rare Use Cases

Daishi Kato
Daishi Kato
Let's Learn the Basics of JavaScript Proxies Used in Valtio
Feb 14, 2025

Let's Learn the Basics of JavaScript Proxies Used in Valtio

Proxies Are Heavily Used in Some of My Libraries

Daishi Kato
Daishi Kato
`use-zustand` Uses Zustand Without `useSyncExternalStore`
Feb 13, 2025

`use-zustand` Uses Zustand Without `useSyncExternalStore`

The Special Behavior of `useReducer` That Cannot Be Done With `useState`

Daishi Kato
Daishi Kato
Learn How Jotai Uses a Symbol for Internal API
Feb 12, 2025

Learn How Jotai Uses a Symbol for Internal API

Exploring How Jotai v2.12.0 Exposes Its Internal API

Daishi Kato
Daishi Kato
The Unique Part of Zustand API Design
Feb 11, 2025

The Unique Part of Zustand API Design

What Is Unique and What Feels Ironic, in My Humble Opinion

Daishi Kato
Daishi Kato
FirstBack
1234
Next Last
A newsletter by Daishi Kato exploring coding and open source.

Daishi Kato's Read the Code

A newsletter by Daishi Kato exploring coding and open source.

Home

Posts

© 2026 Daishi Kato's Read the Code.

Privacy policy

Terms of use

Powered by beehiiv