zeekay 9c3123f160 react: a part that hydrates late draws what the server drew, then the reader's words; 0.6.1
A section in a chunk of its own hydrates after the provider may have
loaded the reader's catalog. useI18n handed it the Arabic words over
English HTML, and React threw the tree away and drew it again on the
client (hanzo.ai's landing in Arabic: "Hydration failed because the
server rendered text didn't match", #418).

useI18n answers the provider's starting locale with no catalog (Served)
while its component hydrates, through useSyncExternalStore's server
snapshot, and the reader's words a render later; a component mounted on
the client gets them at once. test:browser hydrates a page held up by a
section whose chunk arrives after the catalog, and reports the mismatch
without this change.
2026-10-30 07:23:40 -07:00
S
Description
Translation toolkit and pipeline for the Hanzo, Lux, Zoo, and Pars ecosystem.
5.6 MiB
Languages
TypeScript 87.5%
JavaScript 9.5%
Shell 2.4%
Python 0.4%
CSS 0.2%