To turn off suspense with i18n-next React, we set the useSuspense
option to false
.
To do this, we write
i18n
.use(XHR)
.use(LanguageDetector)
.init({
react: {
useSuspense: false
}
});
to set useSuspense
to false
in the object we pass into the init
method.