Skip to content

Commit 2e75fad

Browse files
authored
fix: use React.cache for per-request namespace isolation in RSC template (#96)
Replace globalThis namespace merge with i18nRequestStore from next-translate. During static builds, each locale render now gets its own namespace accumulator via React.cache, preventing cross-locale pollution where namespaces from one locale leaked into another.
1 parent db3c8c6 commit 2e75fad

2 files changed

Lines changed: 139 additions & 71 deletions

File tree

0 commit comments

Comments
 (0)