186 Commits

Author SHA1 Message Date
Michael Rawlings
4d71cc4489 wip: interop as dynamic tag 2023-08-29 14:40:10 -04:00
Michael Rawlings
22c8b4688c chore: tsx to babel, move bundle scripts into pkgs 2023-07-12 13:25:33 -04:00
Dylan Piercey
e67799356f chore: optimize tsconfig build setup and other build scripts 2023-05-17 10:37:22 -07:00
Dylan Piercey
6423bcb91a chore: add eslint import plugin 2023-05-17 10:37:22 -07:00
Dylan Piercey
265102d6d0 chore: remove unecessary eslint comments 2023-05-17 10:37:22 -07:00
Dylan Piercey
2fb8aa55a0
chore: misc tooling, build and config upgrades 2023-05-16 15:04:36 -07:00
Dylan Piercey
a1149c0c88 feat: tag params 2023-05-16 08:39:35 -07:00
Dylan Piercey
5acfab68e1 feat: derived let tag 2023-05-09 14:35:42 -07:00
Michael Rawlings
ebe1f4d15a
refactor: invert dirty to clean, intersections as arguments rather than calls (#160) 2023-05-08 11:16:06 -04:00
Michael Rawlings
0f6c65db4c
Section hierarchy + refactor (#158)
* refactor: reintroduce section object, rather than sectionsName array

* fix: get correct section hierarchy for closures

* refactor: store section, rather than sectionId on node.extra
2023-04-28 14:10:45 -04:00
Dylan Piercey
b0eb494000
Refactor (#157)
* refactor: sorted array helpers

* fix: issue with destructuring single binding

* refactor: remove reference groups abstraction

* refactor: rename apply => render and hydrate => effect/resume
2023-04-26 18:44:31 -04:00
Michael Rawlings
6194bc0489
feat: resume for tag with key support (#155) 2023-04-12 10:33:58 -04:00
Michael Rawlings
1398a1275e
fix: hydration when an if tag is false initially (#152) 2023-04-07 11:14:27 -04:00
Michael Rawlings
196b625100
refactor: switch to new signal implementation (#151) 2023-03-28 14:04:29 -04:00
Luke LaValva
b53548f1fc
feat(for): to-from-step and in (#150)
* feat(for): from-to-step
* feat(for): for in
2023-03-16 16:55:59 -04:00
Luke LaValva
55a97b07ae
Remove skip_ from tests (#148)
* test: attr-escape

* test: attr-falsey

* test: attr-scoped

* test: attr-template-literal-escape

* test: basic-dynamic-native-tag

* test: basic-execution-order

* test: basic-layout

* test: basic-toggle-show

* test: batched-updates

* test: batched-updates-cleanup

* test: const-tag

* test: custom-tag-child-analyze

* test: custom-tag-parameters

* test: custom-tag-render-body

* test: custom-tag-template

* test: dynamic-event-handlers

* test: effect-tag

* test: entities

* test(remove): event-handlers [redundant and unhelpful]

* test: for-tag-siblings

* test: for-tag-with-state

* fix: !{undefined} is now empty string instead of space

* test: hello-dynamic

* test: html-entity

* test: if-tag

* test: import-tag-conflict

* test: import-destructure [rename, still skipping ssr and csr]

* test: let-tag

* test: lifecycle-tag

* test: lifecycle-tag-assignment

* test: lifecycle-tag-this

* test: native-tag-ref-effect

* test: placeholders

* test: toggle-first-child

* test: update-attr

* test: user-effect-cleanup

* test: return-tag [rename from yield-tag]

* fix(attrs): use comment node instead of empty string

* refactor(ts): add generics to `write`
2023-02-10 13:21:11 -05:00
Luke LaValva
54cbd7312d
fix(attrs): replace true with empty string (#146) 2023-02-06 18:56:05 -05:00
Luke LaValva
2cfef7b89e
fix: replace empty text nodes with zero width joiners (#140) 2023-02-02 19:30:52 -05:00
Luke LaValva
00e9076ca1
Dynamic tag hydration (#138) 2023-01-31 15:39:34 -05:00
Michael Rawlings
c19cfb023b
feat: if hydration (#135) 2023-01-26 16:19:18 -05:00
Michael Rawlings
56e3c9a17d
fix: use staticNodeFragment by default, associate non-default fragments with renderers (#134) 2023-01-25 14:52:09 -05:00
Luke LaValva
c3061ad726
fix: event listeners are now active by default (#133) 2023-01-24 14:48:08 -05:00
Luke LaValva
f84681e604
feat(dynamic-tag): add native tag (#132) 2023-01-24 13:28:11 -05:00
Michael Rawlings
d885825307
Debug info (#128) 2023-01-20 12:02:26 -05:00
Michael Rawlings
c05ef09e4d
refactor: remove walker.skip, reserve.size (#127) 2023-01-19 18:32:25 -05:00
Michael Rawlings
ea76ccd057
fix: text hydration (#126) 2023-01-18 13:21:44 -05:00
Michael Rawlings
3a7c12d909
fix: attrs signal subscriber (#125) 2023-01-13 18:05:18 -05:00
Ryan Turnquist
07e4ca1a7e
Fixes lifecycle/effect (#123)
* fix: lifecycle methods access instance `this`

* fix: let assignments in effects

* fix: lifecycle test

* fix: assignments in lifecycle tag methods
2023-01-12 16:28:30 -05:00
Luke LaValva
7da306e177
fix: assignment expressions (#120)
* fix: nested assignment expressions

* fix: postfix update expressions

* fix: returned assignments

* fix: reassignment expressions (+=, *=, etc.)
2023-01-11 13:59:41 -05:00
Luke LaValva
86e1c041b5
feat(custom-tag): added return and tag variables (#116)
* feat(custom-tag): added return and tag variables
* fix: duplicate WalkCodes
2022-12-22 15:38:41 -05:00
Ryan Turnquist
7a3fcb3186
feat: context dom (#114)
* feat: context dom
2022-12-10 00:11:34 -05:00
Luke LaValva
2f2df97cee
feat(native-tag): add native tag refs (#112)
* feat(native-tag): add native tag refs

* chore: switch to c8 from nyc

Co-authored-by: Michael Rawlings <mirawlings@ebay.com>
2022-12-08 15:32:56 -05:00
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