52 Commits

Author SHA1 Message Date
Ryan Turnquist
d5224b0151
fix: optimize param serialization, optimize define tag 2025-09-24 11:06:02 -07:00
dpiercey
61ffaf55d7 refactor: rename runtime apis to snake_case 2025-09-04 12:01:55 -07:00
dpiercey
663c3b14c7 fix: issue mutating tag variables in non registered intersection function 2025-08-30 15:57:35 -07:00
Luke LaValva
0265d6b67e
fix(marko6): walks string (#2781) 2025-08-27 10:33:09 -07:00
dpiercey
742fca55e3 feat: allow reading tag variables after they are written 2025-07-22 15:23:58 -07:00
dpiercey
b6ba333ee2 chore: upgrade deps 2025-07-11 15:35:43 -07:00
Luke LaValva
219eae8366
fix: add more presentation attributes to SVG (#2687) 2025-05-11 11:03:59 -07:00
dpiercey
ddf2b54ed0 refactor: move closure setup code into setup functions 2025-04-25 11:40:08 -07:00
dpiercey
2da2ca0077 perf: inline closure functions when possible 2025-04-23 19:03:29 -07:00
dpiercey
42fff26f85 fix: sort signals by downstream value/intersections 2025-04-23 16:14:45 -07:00
dpiercey
588a8a6e0a fix: avoid conflicts with babel generated uids 2025-04-03 16:25:40 -07:00
dpiercey
0d3bfeb3e3 perf: inline signal expression callees when possible 2025-04-02 09:01:52 -07:00
dpiercey
e6e633123a refactor: switch to custom uid helper 2025-04-02 09:01:52 -07:00
dpiercey
e3d4485ab6 fix: avoid printing value/closure params when not needed 2025-03-31 10:01:27 -07:00
Dylan Piercey
1995c96c94
[Tags API] try catch await (#2573)
* feat: try/catch/placholder + await clientside

---------

Co-authored-by: Michael Rawlings <mirawlings@ebay.com>
2025-03-19 15:01:24 -07:00
dpiercey
89e310e9a2 refactor: avoid getters for renderer args 2025-03-07 18:47:48 -07:00
dpiercey
e19cfddd48 fix: ensure closures called after setup 2025-03-07 18:47:48 -07:00
dpiercey
53de7a0b1e fix: avoid params on template renderers 2025-03-03 13:42:08 -07:00
Michael Rawlings
b12f77a880 refactor: remove marks, rely only on queue 2025-02-28 18:30:21 -07:00
dpiercey
ae24290c4c refactor: consolidate createBranch logic 2025-02-26 14:06:10 -07:00
dpiercey
c4fd6e7670 refactor: create shorthand helper for registered csr content 2025-02-26 14:06:10 -07:00
dpiercey
43522b78c3 fix: avoid intersections for closures 2025-02-25 16:02:22 -07:00
dpiercey
5c8c549a32 refactor: unify csr dynamic tag runtime 2025-02-24 16:06:07 -07:00
dpiercey
4da97b9239 refactor: reduce closure code output by reading owner scope 2025-02-11 14:24:33 -07:00
dpiercey
bd59c96a0d fix: for/if tag refactor and fixes 2025-02-07 19:10:16 -07:00
Michael Rawlings
96dd7b212c refactor: convert closures to use controlflow sorted queue 2025-01-24 18:34:32 -07:00
Dylan Piercey
a364d1ebd8
feat: rename renderBody to content in tags api (#2436) 2024-12-19 14:00:09 -08:00
Dylan Piercey
032afa125b
refactor: binding renames, binding assignments, register functions 2024-12-10 10:20:24 -07:00
Dylan Piercey
fefe9ae668
feat: member expression hoisting (#2382) 2024-12-04 13:59:53 -07:00
Dylan Piercey
133b562c19
fix: partially revert 2380 (#2383) 2024-11-25 10:26:41 -07:00
Dylan Piercey
c5d2b4871e
feat: optimize registry id compiler api (#2380) 2024-11-22 15:02:38 -07:00
Dylan Piercey
7165a7866b
chore: improve size snapshot/tooling (#2362)
chore: improve size snapshot/tooling
2024-11-13 10:53:44 -07:00
Michael Rawlings
7492eb819f
compiled output cleanup (#2356)
* refactor: add new state signal helper

* refactor: add new effect helper

* refactor: use namespace import for runtime

* refactor: queue aborts as effects

* refactor: remove changeHandler helper

* refactor: use 0 rather than null for missing arguments in signal constructors

* refactor: call createRenderer internally from createTemplate
2024-11-06 14:25:33 -05:00
Dylan Piercey
6501821981
refactor: misc refactoring for controllable input (#2350) 2024-11-04 15:38:38 -07:00
Michael Rawlings
7394cda29a feat: controllable native elements 2024-11-01 18:46:35 -04:00
Dylan Piercey
7e934911e9
(Tags API) refactor section closure and binding processing (#2347)
* refactor: use closure analyze

* refactor: convert section.closures to a sorted repeatable
2024-10-31 08:54:57 -07:00
dpiercey
33a1ba61cd feat: add <for> tag runtime 2024-10-28 10:18:37 -07:00
dpiercey
8fe4e50225 refactor: share html parser with template and dynamic html 2024-10-22 10:24:25 -07:00
dpiercey
bdbe303724 fix: remove bindFunction api, support serialized element references 2024-10-22 10:24:25 -07:00
dpiercey
427cb87f5f fix: remove bind renderer 2024-10-22 10:24:25 -07:00
dpiercey
e4a6d8b46c fix: make templates renders, cleanup dynamic tags 2024-10-22 10:24:25 -07:00
dpiercey
7199f879a6 fix: remove Before/After walk codes 2024-10-21 09:24:48 -07:00
dpiercey
def0e6c308 fix: prefer ||= over ??= 2024-10-21 09:24:48 -07:00
dpiercey
76b7a00163 fix: refactor template parsing 2024-10-21 09:24:48 -07:00
Ryan Turnquist
2a971ce661
Fix cleanup (#2309)
* fix: cleanup nested scopes

* fix: ensure child scopes get written for custom and dynamic tags

* fix: add downstream intersections to `intersection` signals

* fix: lazy intersections in dom compilation, make order irrelevant

* fix: use symbol for tag extra member
2024-10-01 13:57:33 -07:00
Ryan Turnquist
3464f38903
fix: walk over child with no sibling (#2293)
* fix: walk over child with no sibling
2024-09-10 16:17:03 -07:00
Ryan Turnquist
616e79e9c2
Better signal child optimization analysis and support recursive components (#2291)
* fix: use analysis for single node check

* fix: hoist exports for recursive components
2024-09-10 14:28:45 -07:00
dpiercey
10f61e206b chore: minor serialize improvement 2024-08-21 15:12:04 -07:00
dpiercey
07072eb4e2 chore: upgrade deps and eslint config 2024-08-08 14:12:51 -07:00
Dylan Piercey
a3378e265f
Tags API: New HTML writer implementation (#2268)
* feat: new tags api writer
2024-08-05 18:42:08 -04:00