sprae 13.2.2 → 13.3.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/core.js +12 -2
- package/directive/class.js +21 -6
- package/directive/each.js +163 -74
- package/dist/sprae-csp.js +10 -10
- package/dist/sprae-csp.js.map +3 -3
- package/dist/sprae-csp.umd.js +10 -10
- package/dist/sprae-csp.umd.js.map +3 -3
- package/dist/sprae-preact.js +4 -4
- package/dist/sprae-preact.js.map +3 -3
- package/dist/sprae-preact.umd.js +4 -4
- package/dist/sprae-preact.umd.js.map +3 -3
- package/dist/sprae.js +4 -4
- package/dist/sprae.js.map +3 -3
- package/dist/sprae.umd.js +4 -4
- package/dist/sprae.umd.js.map +3 -3
- package/package.json +6 -1
- package/readme.md +35 -55
- package/sprae.js +12 -10
- package/store.js +7 -2
- package/types/core.d.ts.map +1 -1
- package/types/directive/class.d.ts.map +1 -1
- package/types/directive/each.d.ts +5 -3
- package/types/directive/each.d.ts.map +1 -1
- package/types/sprae.d.ts.map +1 -1
- package/types/store.d.ts.map +1 -1
package/readme.md
CHANGED
|
@@ -397,35 +397,20 @@ sprae.use(signals)
|
|
|
397
397
|
|
|
398
398
|
## Configuration
|
|
399
399
|
|
|
400
|
-
### CSP-safe evaluator
|
|
401
|
-
|
|
402
|
-
Default uses `new Function` (fast, but requires `unsafe-eval` CSP).<br/>
|
|
403
|
-
For strict CSP, use the pre-built variant or wire [jessie](https://github.com/dy/subscript) manually:
|
|
404
|
-
|
|
405
|
-
```html
|
|
406
|
-
<script src="//unpkg.com/sprae/dist/sprae-csp.umd.js" data-start></script>
|
|
407
|
-
```
|
|
408
|
-
|
|
409
400
|
```js
|
|
410
|
-
import sprae from 'sprae'
|
|
401
|
+
import sprae, { directive, parse, modifier } from 'sprae'
|
|
411
402
|
import jessie from 'subscript/jessie'
|
|
412
|
-
sprae.use({ compile: jessie })
|
|
413
|
-
```
|
|
414
403
|
|
|
415
|
-
|
|
404
|
+
sprae.use({
|
|
405
|
+
// CSP-safe evaluator: <script src="//unpkg.com/sprae/dist/sprae-csp.umd.js" data-start></script>
|
|
406
|
+
// or define manually
|
|
407
|
+
compile: jessie,
|
|
416
408
|
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
```html
|
|
421
|
-
<div data-text="message">...</div>
|
|
422
|
-
```
|
|
423
|
-
|
|
424
|
-
### Custom directive
|
|
425
|
-
|
|
426
|
-
```js
|
|
427
|
-
import { directive, parse } from 'sprae'
|
|
409
|
+
// custom prefix: <div data-text="message">...</div>
|
|
410
|
+
prefix: 'data-'
|
|
411
|
+
})
|
|
428
412
|
|
|
413
|
+
// Custom directive
|
|
429
414
|
directive.id = (el, state, expr) => value => el.id = value
|
|
430
415
|
|
|
431
416
|
directive.timer = (el, state, expr) => {
|
|
@@ -436,17 +421,12 @@ directive.timer = (el, state, expr) => {
|
|
|
436
421
|
return () => clearInterval(id)
|
|
437
422
|
}
|
|
438
423
|
}
|
|
439
|
-
```
|
|
440
|
-
|
|
441
|
-
### Custom modifier
|
|
442
424
|
|
|
443
|
-
|
|
444
|
-
import { modifier } from 'sprae'
|
|
425
|
+
// Custom modifier
|
|
445
426
|
modifier.log = (fn) => (e) => (console.log(e.type), fn(e))
|
|
446
427
|
```
|
|
447
428
|
|
|
448
429
|
|
|
449
|
-
|
|
450
430
|
## Integration
|
|
451
431
|
|
|
452
432
|
### JSX / Next.js
|
|
@@ -523,48 +503,48 @@ Works with [define-element](https://github.com/dy/define-element), Lit, or any C
|
|
|
523
503
|
* Attribute order matters: `:each` before `:text`, not after.
|
|
524
504
|
* Async expressions work: `<div :text="await fetchData()"></div>`
|
|
525
505
|
* Dispose: `sprae.dispose(el)` or `el[Symbol.dispose]()`
|
|
526
|
-
* No `key` needed — `:each`
|
|
506
|
+
* No `key` needed — `:each` auto-keys object items by identity; primitives use positional mapping.
|
|
527
507
|
* `this` refers to current element, but prefer `:ref` or `:mount` for element access.
|
|
528
508
|
* Properties prefixed with `_` are untracked.
|
|
529
509
|
|
|
530
510
|
|
|
531
511
|
## FAQ
|
|
532
512
|
|
|
533
|
-
**What is sprae
|
|
534
|
-
|
|
513
|
+
**What is sprae?**<br>
|
|
514
|
+
~5kb script that adds reactivity to HTML via `:attribute="expression"`. No build step, no new syntax.
|
|
535
515
|
|
|
536
|
-
**Learning curve
|
|
537
|
-
|
|
516
|
+
**Learning curve?**<br>
|
|
517
|
+
If you know HTML and JS, you know sprae. Just `:attribute="expression"`.
|
|
538
518
|
|
|
539
|
-
**How does it compare to Alpine
|
|
540
|
-
|
|
519
|
+
**How does it compare to Alpine?**<br>
|
|
520
|
+
3x lighter, pluggable signals, prop modifiers, event chains. Faster in [benchmarks](https://krausest.github.io/js-framework-benchmark/).
|
|
541
521
|
|
|
542
|
-
**How does it compare to React/Vue
|
|
543
|
-
|
|
522
|
+
**How does it compare to React/Vue?**<br>
|
|
523
|
+
No build step, no virtual DOM. Can inject into [JSX](#jsx--nextjs) for server components without framework overhead.
|
|
544
524
|
|
|
545
|
-
**Why signals
|
|
546
|
-
|
|
525
|
+
**Why signals?**<br>
|
|
526
|
+
Signals are the emerging [standard](https://github.com/tc39/proposal-signals) for reactivity. Pluggable — first to support native signals when browsers ship.
|
|
547
527
|
|
|
548
|
-
**Is new Function unsafe
|
|
549
|
-
|
|
528
|
+
**Is new Function unsafe?**<br>
|
|
529
|
+
No more than inline `onclick` handlers. For strict CSP, use the [safe evaluator](#csp-safe-evaluator).
|
|
550
530
|
|
|
551
|
-
**Components
|
|
552
|
-
|
|
531
|
+
**Components?**<br>
|
|
532
|
+
Use [define-element](https://github.com/dy/define-element) for declarative web components, or any CE library. For simpler cases, [manage duplication](https://tailwindcss.com/docs/styling-with-utility-classes#managing-duplication) with templates/includes.
|
|
553
533
|
|
|
554
|
-
**TypeScript
|
|
555
|
-
|
|
534
|
+
**TypeScript?**<br>
|
|
535
|
+
Full types included.
|
|
556
536
|
|
|
557
|
-
**Browser support
|
|
558
|
-
|
|
537
|
+
**Browser support?**<br>
|
|
538
|
+
Any browser with [Proxy](https://caniuse.com/proxy) (all modern browsers, no IE).
|
|
559
539
|
|
|
560
|
-
**Does it scale
|
|
561
|
-
|
|
540
|
+
**Does it scale?**<br>
|
|
541
|
+
State is plain reactive objects — scales as far as your data model does. Use [store](#store) with computed getters and methods for complex apps.
|
|
562
542
|
|
|
563
|
-
**Is it production-ready
|
|
564
|
-
|
|
543
|
+
**Is it production-ready?**<br>
|
|
544
|
+
It is used by a few SaaS systems and landing pages of big guys.
|
|
565
545
|
|
|
566
|
-
**Is it backed by a company
|
|
567
|
-
|
|
546
|
+
**Is it backed by a company?**<br>
|
|
547
|
+
Indie project. [Support it](https://github.com/sponsors/dy).
|
|
568
548
|
|
|
569
549
|
|
|
570
550
|
## Used by
|
package/sprae.js
CHANGED
|
@@ -67,31 +67,33 @@ Object.assign(directive, {
|
|
|
67
67
|
*/
|
|
68
68
|
const dir = (target, name, expr, state) => {
|
|
69
69
|
let [dirName, ...mods] = name.split('.'), create = directive[dirName] || directive._
|
|
70
|
+
let hasMods = mods.length > 0
|
|
70
71
|
|
|
71
72
|
return () => {
|
|
72
|
-
|
|
73
|
-
let change = signal(0),
|
|
74
|
-
|
|
75
|
-
trigger = decorate(Object.assign(() => change.value++, { target }), mods),
|
|
73
|
+
let el = target, update, change, trigger, count = 0
|
|
76
74
|
|
|
75
|
+
if (hasMods) {
|
|
76
|
+
// modifiers can retarget the update or schedule it, so they keep the trigger indirection
|
|
77
|
+
change = signal(0)
|
|
78
|
+
trigger = decorate(Object.assign(() => change.value++, { target }), mods)
|
|
77
79
|
el = trigger.target ?? target
|
|
80
|
+
}
|
|
78
81
|
|
|
79
|
-
|
|
82
|
+
update = create(el, state, expr, dirName)
|
|
80
83
|
|
|
81
84
|
if (!update?.call) return update?.[_dispose]
|
|
82
85
|
|
|
83
|
-
let
|
|
84
|
-
evaluate = update.eval ?? parse(expr).bind(el),
|
|
86
|
+
let evaluate = update.eval ?? parse(expr).bind(el),
|
|
85
87
|
_out, out = () => (typeof _out === 'function' && _out(), _out=null) // effect trigger and invoke may happen in the same tick, so it will be effect-within-effect call - we need to store output of evaluate to return from trigger effect
|
|
86
88
|
|
|
87
89
|
// use element's own state for expression evaluation, unless it's a custom element
|
|
88
90
|
// (custom elements: directives are parent prop setters, must evaluate against parent state)
|
|
89
91
|
if (!isCE(el)) state = el[_state] ?? state
|
|
90
92
|
|
|
91
|
-
let off = effect(() => {
|
|
92
|
-
|
|
93
|
+
let off = hasMods ? effect(() => {
|
|
94
|
+
change.value == count ? trigger() : (count = change.value, _out = evaluate(state, update))
|
|
93
95
|
return out
|
|
94
|
-
})
|
|
96
|
+
}) : effect(() => (_out = evaluate(state, update), out))
|
|
95
97
|
if (!(_state in el)) return off
|
|
96
98
|
let _d = 0
|
|
97
99
|
return () => { if (_d) return; _d = 1; off(); update[_off] ? update[_off]() : el[_dispose]?.() }
|
package/store.js
CHANGED
|
@@ -14,6 +14,9 @@ export const _change = Symbol('change')
|
|
|
14
14
|
/** Symbol for stashed setter on computed values */
|
|
15
15
|
export const _set = Symbol('set')
|
|
16
16
|
|
|
17
|
+
/** Symbol for parent scope link */
|
|
18
|
+
const _parent = Symbol('parent')
|
|
19
|
+
|
|
17
20
|
// a hack to simulate sandbox for `with` in evaluator
|
|
18
21
|
let sandbox = true
|
|
19
22
|
|
|
@@ -58,7 +61,7 @@ export const store = (values, parent) => {
|
|
|
58
61
|
// proxy conducts prop access to signals
|
|
59
62
|
let state = new Proxy(Object.assign(signals, {
|
|
60
63
|
[_change]: signal(keyCount),
|
|
61
|
-
[_signals]: signals
|
|
64
|
+
[_signals]: signals,
|
|
62
65
|
}), {
|
|
63
66
|
get: (_, k) => {
|
|
64
67
|
if (k in signals) {
|
|
@@ -104,7 +107,7 @@ export const store = (values, parent) => {
|
|
|
104
107
|
},
|
|
105
108
|
|
|
106
109
|
// subscribe to length when spreading
|
|
107
|
-
ownKeys: () => (signals[_change].value, Reflect.ownKeys(signals)),
|
|
110
|
+
ownKeys: () => (signals[_change].value, Reflect.ownKeys(signals).filter(k => k !== _parent)),
|
|
108
111
|
|
|
109
112
|
// sandbox prevents writing to global
|
|
110
113
|
has: (_, k) => {
|
|
@@ -113,6 +116,7 @@ export const store = (values, parent) => {
|
|
|
113
116
|
return sandbox
|
|
114
117
|
}
|
|
115
118
|
})
|
|
119
|
+
Object.defineProperty(signals, _parent, { value: parent, configurable: true })
|
|
116
120
|
|
|
117
121
|
// init signals for values
|
|
118
122
|
const descs = Object.getOwnPropertyDescriptors(values)
|
|
@@ -201,6 +205,7 @@ const list = (values, parent = globalThis) => {
|
|
|
201
205
|
// dispose notifies any signal deps, like :each
|
|
202
206
|
deleteProperty: (_, k) => (signals[k]?.[Symbol.dispose]?.(), delete signals[k], 1),
|
|
203
207
|
})
|
|
208
|
+
Object.defineProperty(signals, _parent, { value: parent, configurable: true })
|
|
204
209
|
|
|
205
210
|
return state
|
|
206
211
|
}
|
package/types/core.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../core.js"],"names":[],"mappings":"AAIA,uEAAuE;AACvE,2BAA8D;AAE9D,oDAAoD;AACpD,mCAAqC;AAErC,0CAA0C;AAC1C,gCAA+B;AAE/B,2CAA2C;AAC3C,iCAAiC;AAEjC,yCAAyC;AACzC,iCAAkC;AAElC,sCAAsC;AACtC,0BAAwB;AAGjB,mCAAgD;AAEvD;;;;;;;;;GASG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AACH,mBAFU,CAAC,GAAC,EAAE,KAAK,EAAE,GAAC,KAAK,MAAM,CAAC,GAAC,CAAC,CAElB;AAElB;;;GAGG;AACH,mBAFU,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,KAAK,MAAM,IAAI,CAErC;AAElB;;;;GAIG;AACH,qBAFU,CAAC,GAAC,EAAE,EAAE,EAAE,MAAM,GAAC,KAAK,MAAM,CAAC,GAAC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"","sources":["../../directive/class.js"],"names":[],"mappings":"AAWe,8BANJ,OAAO,eAEP,MAAM,QACN,MAAM,GACJ,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,
|
|
1
|
+
{"version":3,"file":"class.d.ts","sourceRoot":"","sources":["../../directive/class.js"],"names":[],"mappings":"AAWe,8BANJ,OAAO,eAEP,MAAM,QACN,MAAM,GACJ,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CA4BpE"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
declare function _default(tpl:
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare function _default(tpl: any, state: any, expr: any): {
|
|
2
|
+
(value: any): () => void;
|
|
3
|
+
eval: (state: any, cb?: (value: any) => any) => any;
|
|
4
|
+
[_off]: () => void;
|
|
4
5
|
};
|
|
5
6
|
export default _default;
|
|
7
|
+
import { _off } from "../core.js";
|
|
6
8
|
//# sourceMappingURL=each.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"each.d.ts","sourceRoot":"","sources":["../../directive/each.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"each.d.ts","sourceRoot":"","sources":["../../directive/each.js"],"names":[],"mappings":"AAwBe;;;;EAqLd;;qBA7M6F,YAAY"}
|
package/types/sprae.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sprae.d.ts","sourceRoot":"","sources":["../sprae.js"],"names":[],"mappings":";kBAQqI,WAAW;kBAH9H,YAAY;uBAC6B,WAAW;uBAAX,WAAW;yBAAX,WAAW;sBAAX,WAAW;0BAAX,WAAW;sBAE+D,WAAW;oBAAX,WAAW;yBAAX,WAAW;yBAAX,WAAW;
|
|
1
|
+
{"version":3,"file":"sprae.d.ts","sourceRoot":"","sources":["../sprae.js"],"names":[],"mappings":";kBAQqI,WAAW;kBAH9H,YAAY;uBAC6B,WAAW;uBAAX,WAAW;yBAAX,WAAW;sBAAX,WAAW;0BAAX,WAAW;sBAE+D,WAAW;oBAAX,WAAW;yBAAX,WAAW;yBAAX,WAAW;AA2PhI,4BAFL,OAAO,OAEsC"}
|
package/types/store.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../store.js"],"names":[],"mappings":"AAOA,oDAAoD;AACpD,qCAAyC;AAEzC,2EAA2E;AAC3E,oCAAuC;AAEvC,mDAAmD;AACnD,iCAAiC;
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../store.js"],"names":[],"mappings":"AAOA,oDAAoD;AACpD,qCAAyC;AAEzC,2EAA2E;AAC3E,oCAAuC;AAEvC,mDAAmD;AACnD,iCAAiC;AA6B1B,sBAVe,CAAC,0BACZ,CAAC,iBAEC,aAAa,CAAC,CAAC,CAAC,CAkG5B;;;;;0BA9GY,CAAC,IACD,CAAC,GAAG;IAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,WAAW,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAA;CAAE"}
|