@verbaly/react 0.69.0 → 0.69.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/README.md +1 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -35,7 +35,7 @@ function Inbox() {
35
35
  }
36
36
  ```
37
37
 
38
- **Keys are typed.** `useT()` checks every key and its params against your source catalog, through the types Verbaly generates (`src/verbaly.d.ts` in a Vite app): a key no catalog has does not compile. A key that comes from data is declared with `defineKeys` from `virtual:verbaly`.
38
+ **Keys are typed.** `useT()` checks every key and its params against your source catalog, through the types Verbaly generates (`src/verbaly.d.ts` in a Vite app): a key no catalog has does not compile. A key that comes from data, like `t(item.key)`, passes as it is; declare it with `defineKeys` from `virtual:verbaly` when you want `check` to verify it exists.
39
39
 
40
40
  `useT()` hands out a new `t` whenever the language changes or a catalog arrives, so a `useMemo`, `useCallback` or effect keyed on `t` runs again in the new language. While nothing changes it stays the same function.
41
41
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verbaly/react",
3
- "version": "0.69.0",
3
+ "version": "0.69.1",
4
4
  "description": "React bindings for Verbaly: hooks over the reactive core.",
5
5
  "keywords": [
6
6
  "i18n",
@@ -58,7 +58,7 @@
58
58
  },
59
59
  "peerDependencies": {
60
60
  "react": "^18.0.0 || ^19.0.0",
61
- "verbaly": "^0.69.0"
61
+ "verbaly": "^0.69.1"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@types/react": "^19.3.0",
@@ -68,7 +68,7 @@
68
68
  "preact-render-to-string": "^6.8.0",
69
69
  "react": "^19.3.0",
70
70
  "react-dom": "^19.3.0",
71
- "verbaly": "^0.69.0"
71
+ "verbaly": "^0.69.1"
72
72
  },
73
73
  "scripts": {
74
74
  "build": "tsdown",