You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- rework return slot$ to look like element/component? fn.prop is faster than {f,p}
3
5
- util to transform static props to signal props?
4
6
- rename decide? export as public - as Dynamic in solidjs
5
7
- typed effectattrs <T>
6
8
- additional arg for record in for$? as$
9
+
- controls addEventListener to events system
10
+
- static index for untracked loop?
7
11
8
12
for$($items)(
9
13
as$(record, ($item) => li()($item.$name))
10
14
)
11
15
16
+
## Kida/Agera
17
+
12
18
- serialize - start all marked stores?
19
+
- injectable class
20
+
13
21
- bundle types?
14
-
- static index for untracked loop?
15
-
- controls addEventListener to events system
16
-
- lazy scope to start and stop methods? - ??? wtf???
22
+
- lazy scope to start and stop methods? for example for resort in loop
17
23
- later: resort effects
24
+
- store injection effectScope to stop effects after context stop? - UPD: wtf is this? i dont remember what it mean. Wrap serialize in effectScope? Or wrap inject ? bad practice, maybe just for safety into serialize
18
25
19
-
do not export all through root index? split entrypoints by groups
20
-
21
-
import {
22
-
div,
23
-
button
24
-
} from 'nanoviews/elements'
25
-
import {
26
-
classList$,
27
-
focus$
28
-
} from 'nanoviews/attributes'
29
-
import {
30
-
signal
31
-
} from 'nanoviews/store'
32
-
import {
33
-
if$,
34
-
for$
35
-
} from 'nanoviews/logic'
36
-
37
-
vs
38
-
39
-
import {
40
-
div,
41
-
button,
42
-
classList$,
43
-
focus$,
44
-
signal,
45
-
if$,
46
-
for$
47
-
} from 'nanoviews'
48
-
49
-
there are many exports, so it can look like a mess, may be we can push devs to write structured code by splitting exports by entrypoints.
26
+
## Perf
50
27
51
28
- !== undefined is faster
52
29
- prop: undefined is faster
@@ -57,23 +34,18 @@ there are many exports, so it can look like a mess, may be we can push devs to w
57
34
- Reflect.get is slow
58
35
- arr.length = 0 is slower than arr = []
59
36
60
-
- store injection effectScope to stop effects after context stop? - UPD: wtf is this? i dont remember what it mean. Wrap serialize in effectScope? Or wrap inject ? bad practice, maybe just for safety into serialize
0 commit comments