You have 2 options:
-
Without Using suspense, you can configure that i18n.js like this:
i18n .use(XHR) .use(LanguageDetector) .init({ react: { useSuspense: false // <---- this will do the magic } }); -
Using Suspense, for example:
<Suspense fallback={<div>Loading... </div>}> <App /> </Suspense>