@ayinza_dev/i18n-config 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config.js +5 -0
- package/package.json +1 -1
package/dist/config.js
CHANGED
|
@@ -32,6 +32,11 @@ const defaultConfig = {
|
|
|
32
32
|
},
|
|
33
33
|
react: {
|
|
34
34
|
useSuspense: true,
|
|
35
|
+
// Remote catalogs are overlaid lazily (addResourceBundle) after the
|
|
36
|
+
// languageChanged re-render. Bind re-renders to store additions so a
|
|
37
|
+
// freshly-loaded locale paints on the first switch instead of requiring a
|
|
38
|
+
// second toggle.
|
|
39
|
+
bindI18nStore: "added",
|
|
35
40
|
},
|
|
36
41
|
};
|
|
37
42
|
const mergeFormatters = (base, override) => {
|