We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbf1a02 commit 3606808Copy full SHA for 3606808
lib/utils.js
@@ -81,12 +81,11 @@ async function reloadTranslations(list, i18nInstance) {
81
try {
82
backendOptions = i18nInstance.services.backendConnector.backend.options;
83
backendOptions.queryStringParams = backendOptions.queryStringParams || {};
84
+ backendOptions.queryStringParams._ = new Date().getTime(); // cache killer
85
} catch (e) {
86
logOnce('Client i18next-http-backend not found, hmr may not work', 'warn');
87
}
88
- backendOptions.queryStringParams._ = new Date().getTime(); // cache killer
89
-
90
const langs = uniqueList(list.map((item) => item.lang));
91
const namespaces = uniqueList(list.map((item) => item.ns));
92
0 commit comments