Skip to content

Commit 6fe145b

Browse files
committed
test(web): quote the no-refetch rule in the hydration oracle
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0117BoWKJDzwaZPgaGWE181b
1 parent 3873eec commit 6fe145b

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

‎packages/web/test/consistency/async-gen/hydrate.spec.tsx‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@
1010
*
1111
* Per case, the shell is hydrated and every chunk applied, then:
1212
*
13-
* - NO REFETCH: no memo whose answer (value or error) the server sent asks
14-
* again before the first client write. A first ask of something the
15-
* payload never carried is not a refetch (#4313, #4414), nor is an ask
16-
* made under hydration's dry run, with its fake Promise.
13+
* - NO REFETCH (Ryan, 2026-10-30): "a refetch is a re-ask of a read the
14+
* server answered (value or error); a first ask of a read the server
15+
* never reached is the client's ordinary ask". Hydration is CSR with the
16+
* server's answers claimed, so an ask counts only when the payload carries
17+
* that memo's answer and it comes before the first client write. An ask
18+
* made under hydration's dry run, with its fake Promise, is not one.
1719
* - CLEAN: no console.error, no hydration warning.
1820
* - HYDRATED = CSR: the hydrated screen equals a fresh client render of the
1921
* same inputs with every memo synchronous.

0 commit comments

Comments
 (0)