fix: empty cache on ssr
On SSR we create the instance with a pre initialized cache.
```tsx
createI18n(currentLocale, {
baseLocale: defaultLocale,
get: async () => ({}),
cache: translations,
isSSR: true,
});
```
This cache shouldn't be deleted.
Sorry that I didn't see this earlier.
合并状态:未合并 关闭于 2025-07-25 3 条评论