sprae 2.14.1 → 3.0.0
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/package.json +3 -5
- package/r&d.md +33 -30
- package/readme.md +6 -88
- package/sprae.js +248 -590
- package/sprae.min.js +1 -1
- package/src/core.js +12 -6
- package/src/directives.js +13 -16
- package/src/state.js +113 -0
- package/src/weakish-map.js +29 -0
- package/test/dom.js +935 -0
- package/test/index.html +2 -1
- package/test/state.js +274 -0
- package/test/test.js +2 -915
- package/todo.md +4 -4
package/todo.md
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
* [x] to avoid extending signal-struct, we must collect state data before, and call updates after for extended state
|
|
28
28
|
* [x] optimization: replace element-props with direct (better) setters
|
|
29
29
|
* [x] Make sure `false` gets serialized, not removes attr
|
|
30
|
-
* [
|
|
30
|
+
* [x] Sandbox expressions: no global, no "scope" object name, no "arguments"
|
|
31
31
|
* ~~[x] report usignal problem~~ author is not really interested
|
|
32
32
|
* [x] `this` doesn't refer to element/scope in event handlers
|
|
33
33
|
* [x] :text="" empty values shouldn't throw
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
* [x] :if :ref, :if :with -> context setters must come first always
|
|
39
39
|
* [x] :style="{'--x':value}"
|
|
40
40
|
* [x] :onkeydown.ctrl-alt-D
|
|
41
|
-
* [ ] debounce state updates to next tick? Ie. state is updated straight away but rerendered after?
|
|
42
41
|
* [ ] frameworks benchmark
|
|
43
|
-
* [
|
|
42
|
+
* [x] examples
|
|
44
43
|
* [x] todomvc
|
|
45
44
|
* [x] waveplay
|
|
46
45
|
* [x] evt modifiers
|
|
47
46
|
* [x] once, capture, passive
|
|
48
47
|
* [x] ...rest
|
|
49
|
-
* [x] parallel chains
|
|
48
|
+
* [x] parallel chains
|
|
49
|
+
* [x] Sandbox
|