154 Commits

Author SHA1 Message Date
Michael Rawlings
239e8bfca1 refactor: always put scopeId first in the hydration data 2022-11-08 13:25:06 -05:00
Michael Rawlings
e8e0bd9b83 test: merge runtime/translator fixtures 2022-11-07 13:37:10 -05:00
Michael Rawlings
db1445b8fa test: use public imports 2022-11-07 13:37:10 -05:00
Michael Rawlings
0e5c26cb90 refactor: runtime tests use @marko/runtime-fluurt rather than relative imports 2022-11-07 13:37:10 -05:00
Michael Rawlings
7d853396da test: prepare to merge runtime/translator tests (2) 2022-11-07 13:37:10 -05:00
Michael Rawlings
a906ea8fa2
refactor: remove scope ___id and old queue impls that relied on it (#103) 2022-11-04 11:33:51 -04:00
Michael Rawlings
cdfda27473
feat: hydrate runtime for if (#102)
* feat: hydrate runtime for if
2022-11-03 21:04:37 -04:00
Ryan Turnquist
169fe3506e feat: lifecycle tag 2022-11-03 18:30:39 -04:00
LuLaValva
cecd9e88f2
feat: add id tag 2022-11-01 11:19:55 -07:00
Michael Rawlings
acbff4ee27 chore: format/lint 2022-11-01 14:07:02 -04:00
Michael Rawlings
e836201013 feat: dynamic tag translator for dom/csr 2022-11-01 14:07:02 -04:00
Michael Rawlings
e554711a5f feat: renderBody hydration 2022-11-01 14:07:02 -04:00
Michael Rawlings
0f63c5d7d4 feat: csr renderBody 2022-11-01 14:07:02 -04:00
Michael Rawlings
c56c7e7073 feat: static signals 2022-11-01 14:07:02 -04:00
Michael Rawlings
dde830761f wip: runtime tests passing 2022-11-01 14:07:02 -04:00
Michael Rawlings
76ee4f06bd wip: update loop tests 2022-11-01 14:07:02 -04:00
Michael Rawlings
7db036a608 wip: for loops 2022-11-01 14:07:02 -04:00
Michael Rawlings
2ee504364e wip: input attributes helper 2022-11-01 14:07:02 -04:00
Michael Rawlings
336184fe0b wip: condtional signals 2022-11-01 14:07:02 -04:00
Michael Rawlings
964dd17509 wip: simplify signal/scope generic types 2022-11-01 14:07:02 -04:00
Michael Rawlings
596b0f37a9 wip: toggle-child test works now 2022-11-01 14:07:02 -04:00
Michael Rawlings
45073970cd wip: started working on static signals 2022-11-01 14:07:02 -04:00
Michael Rawlings
e6755fb359 chore: rename naive queue implementation 2022-05-19 16:52:51 -04:00
Michael Rawlings
70a4056d22 feat: yet another queue implementation 2022-05-19 00:25:25 -04:00
Michael Rawlings
78b871a09a feat: pass 'this' to lifecycle methods 2022-05-12 16:01:48 -04:00
Michael Rawlings
56ae380890 feat: new queue implementation + error handling 2022-05-12 15:57:21 -04:00
Michael Rawlings
b1996b792d fix: ensure initial render is under the queue 2022-05-12 15:48:58 -04:00
Michael Rawlings
4010c96cc9 feat: support events in roots other than the main document 2022-05-05 14:37:41 -04:00
Michael Rawlings
5a9f604d43 feat: scopes are now objects, not arrays 2022-05-03 03:04:05 -04:00
Michael Rawlings
54928eb6de feat: early flush for large buffers 2022-05-03 02:34:49 -04:00
Dylan Piercey
4fde4ccc55
feat: support get tag reading global context 2022-04-20 11:00:06 -07:00
Michael Rawlings
4898a76360 feat: export tag/statement 2022-04-13 17:27:23 -04:00
Michael Rawlings
cd8f6b292c refactor: move referenceGroup creation into analyze 2022-04-11 11:53:43 -04:00
Michael Rawlings
179a08755e refactor: pass nodes to helpers rather than scope & property/index 2022-04-05 18:06:45 -04:00
Ryan Carniato
d8acdefd49 feat: single-child optimization, placeholder write 2022-04-05 17:50:09 -04:00
Ryan Carniato
4cdf07d62b perf: dom perf wip 2022-04-05 17:50:09 -04:00
Michael Rawlings
0ca372cc26 feat: basic nested hydration 2022-04-05 15:18:35 -04:00
Michael Rawlings
2e95c8661b chore: use esbuild to build packages 2022-04-04 21:47:02 -04:00
Michael Rawlings
cd492ac032 chore: fix treeshaking, add @__PURE__ annotations 2022-04-04 16:11:49 -04:00
Michael Rawlings
55f3061553 feat: update hydration helpers 2022-04-01 17:16:17 -04:00
Michael Rawlings
3652bdb9fd feat: basic child component support (no attrs, body, or tag vars) 2022-03-17 17:58:28 -04:00
Michael Rawlings
abd2950d48 feat: finish effect tag, add hydrate queue 2022-03-17 17:54:27 -04:00
Michael Rawlings
93afa4c5b3 refactor: scope as object per section, passed as arguments
1. scope is now an object per section (not shared across components with offsets)
2. scope is now passed as arguments (not read from module scope)
2022-03-15 14:27:42 -04:00
Michael Rawlings
0d7171b33f fix: update needsReconciliation commented code 2022-03-10 13:45:10 -05:00
Michael Rawlings
165e159b91 chore: add queue benchmarks 2022-03-10 13:44:23 -05:00
Michael Rawlings
f0930bc6e7 fix: queue priority for closure values 2022-03-02 12:52:17 -05:00
Michael Rawlings
eabaae702d refactor: rename localIndex/sortValue to priority in queue 2022-02-28 15:11:40 -05:00
Michael Rawlings
858bd3b27c
feat: add classAttr/styleAttr helpers to dom runtime 2022-02-18 08:39:57 -08:00
Michael Rawlings
c5f3262fb1
feat: fast path for runWithScope with 3 or less args 2022-02-17 10:22:12 -08:00
Michael Rawlings
a7384371a3
fix: always walk over after walking out, we already visited the parentNode 2022-02-16 11:51:54 -08:00