@ilha/store 0.3.6 → 0.3.8

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 +2 -2
package/README.md CHANGED
@@ -235,7 +235,7 @@ const Profile = ilha
235
235
  // ^ inline is fine here — `.effect()` runs once per dep change,
236
236
  // not on every render. For hot paths, hoist the `select`.
237
237
  })
238
- .render(({ derived }) => html`<p>${derived.user.value?.name ?? "…"}</p>`);
238
+ .render(({ derived }) => html`<p>${derived.user()?.name ?? "…"}</p>`);
239
239
  ```
240
240
 
241
241
  When `userId()` changes, the derived re-fetches automatically.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ilha/store",
3
- "version": "0.3.6",
3
+ "version": "0.3.8",
4
4
  "description": "Typed store.",
5
5
  "license": "MIT",
6
6
  "author": "Ryuz <ryuzer@proton.me>",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "alien-signals": "3.2.1",
35
- "ilha": "0.6.1"
35
+ "ilha": "0.7.1"
36
36
  },
37
37
  "devDependencies": {
38
38
  "zod": "^4.4.3"