I wish there was a little more documentation around the useSSR from react-i18next. In the documentation it states to build a component like this...
import React from 'react';
import { useSSR } from 'react-i18next';
export function InitSSR({ initialI18nStore, initialLanguage }) {
useSSR(initialI18nStore, initialLanguage);
return <App />
}
The problem is it doesn't show where the initialI18nStore prop comes from. I get initialLanguage would be something like 'es', 'en', 'etc', but I'm just not sure where initialI18nStore comes from. Is that something from the middleware or the I18nextProvider?