@stacksjs/composables 0.70.159 → 0.70.161

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/README.md CHANGED
@@ -15,6 +15,10 @@
15
15
 
16
16
  Stacks is a rapid development framework, where the goal is to _help you_ create & maintain frontends, backends, and clouds—without having to worry about the boilerplate. _An all-in-one toolkit that meets all your full stack needs._
17
17
 
18
+ [![Stacks runtime architecture](./docs/diagrams/stacks-runtime.png)](./docs/diagrams/stacks-runtime.html)
19
+
20
+ _Open the diagram for light and dark themes plus SVG, PNG, JPEG, and WebP exports._
21
+
18
22
  - Web & Desktop Applications _(including system tray apps)_
19
23
  - Serverless & Traditional APIs
20
24
  - Cloud Infrastructure Creation & Maintenance
@@ -266,7 +270,6 @@ _Develop serverless (or server) functions with countless helpers to build scalab
266
270
  - 💾 **Storage** _a secure-by-default File API that feels right_
267
271
  - 🧪 **Tinker** _a powerful TypeScript REPL_
268
272
  - 🌪️ **Validation** _e2e type-safety (true frontend & backend harmony)_
269
- - 🎯 **X-Ray** _all you need to debug, log & analyze_
270
273
 
271
274
  ### Cloud Development
272
275
 
@@ -3,7 +3,7 @@ import type { Ref } from '@stacksjs/stx';
3
3
  * Create an async computed ref.
4
4
  *
5
5
  * Returns a ref whose value is the result of an asynchronous evaluation function.
6
- * Since stx does not auto-track dependencies like Vue's watchEffect, you can
6
+ * Since STX async computations use explicit dependencies, you can
7
7
  * provide an optional array of dependency refs. When any dependency changes,
8
8
  * the evaluation callback is re-run.
9
9
  *
@@ -7,7 +7,7 @@ import type { Ref } from '@stacksjs/stx';
7
7
  * until `.value` is accessed. This is useful when you want to precompute values
8
8
  * eagerly.
9
9
  *
10
- * Since stx does not auto-track dependencies in the same way as Vue's computed,
10
+ * Since STX eager computations use explicit dependencies,
11
11
  * this accepts an optional array of dependency refs to watch. When any dependency
12
12
  * changes, the function is re-evaluated immediately.
13
13
  *
package/dist/index.d.ts CHANGED
@@ -260,7 +260,7 @@ export {
260
260
  useArraySome,
261
261
  useArrayUnique,
262
262
  } from './useArrayUtils';
263
- // Aliases (matching VueUse naming)
263
+ // Familiar aliases for common composable names
264
264
  export { computedAsync as asyncComputed } from './computedAsync';
265
265
  export { computedEager as eagerComputed } from './computedEager';
266
266
  export { useDebouncedRef as debouncedRef } from './useDebouncedRef';
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/composables",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.70.159",
5
+ "version": "0.70.161",
6
6
  "description": "Stacks composables powered by stx reactivity.",
7
7
  "author": "Chris Breuer",
8
8
  "contributors": [
@@ -53,7 +53,7 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@stacksjs/stx": "^0.2.99",
56
- "@stacksjs/datetime": "0.70.159"
56
+ "@stacksjs/datetime": "0.70.161"
57
57
  },
58
58
  "devDependencies": {
59
59
  "better-dx": "^0.2.17"