@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.
Files changed (2) hide show
  1. package/dist/config.js +5 -0
  2. 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) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ayinza_dev/i18n-config",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",