Michael Rawlings
abd2950d48
feat: finish effect tag, add hydrate queue
2022-03-17 17:54:27 -04:00
Ryan Carniato
c48f2677ab
feat: effects wip
2022-03-17 17:54:27 -04:00
Michael Rawlings
024a9bbadb
fix: pass scope to classAttr/styleAttr helpers
2022-03-15 16:00:31 -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
Dylan Piercey
040179f44c
chore: publish v5.20.0
v5.20.0
2022-03-11 13:01:50 -07:00
Dylan Piercey
db2539ab8f
feat: relative import normalization now works better with node_modules ( #1779 )
2022-03-11 13:01:28 -07: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
Dylan Piercey
f0d1307963
chore: publish v5.19.3
v5.19.3
2022-03-08 15:28:19 -07:00
Dylan Piercey
722af8962e
chore: upgrade lock file version
2022-03-08 15:27:57 -07:00
Chris
cb99f92166
fix: performance hit in development mode because continually parsing stack trace ( #1777 )
2022-03-08 15:25:06 -07:00
Dylan Piercey
b229fc19a0
chore: publish v5.19.2
v5.19.2
2022-03-07 21:10:00 -07:00
Dylan Piercey
800861b88e
fix: avoid deprecation warning for markoc cli
2022-03-07 21:08:51 -07:00
Michael Rawlings
f0930bc6e7
fix: queue priority for closure values
2022-03-02 12:52:17 -05:00
Michael Rawlings
6e7ddd3274
feat: basic component working
2022-03-01 15:04:00 -05:00
Michael Rawlings
eabaae702d
refactor: rename localIndex/sortValue to priority in queue
2022-02-28 15:11:40 -05:00
Michael Rawlings
03932e044b
fix: unused references compile
2022-02-24 11:57:56 -05:00
Michael Rawlings
2c816642f8
fix: reads in nested blocks
2022-02-24 11:47:41 -05:00
Seth Schoenfeld
beff00d581
Small syntax update ( #1775 )
...
Apologies for the two tiny updates. The docs look really good. It's just an incorrect apostrophe.
2022-02-18 16:19:24 -07:00
Seth Schoenfeld
8b0abcf0db
update to dynamic tag jump link ( #1774 )
...
For some reason, the dynamic tag jump-link was breaking and trying to load a different page. Propose making the relative link to the same page and adding the jump #.
2022-02-18 12:06:51 -07:00
Michael Rawlings
858bd3b27c
feat: add classAttr/styleAttr helpers to dom runtime
2022-02-18 08:39:57 -08:00
Michael Rawlings
6f2ba90a7c
fix: bind/hoisting of nested functions
2022-02-17 17:57:34 -08:00
Michael Rawlings
7d435af5f2
fix: bind handlers even if they don't read values
2022-02-17 14:54:09 -08:00
Michael Rawlings
a6647c73cb
feat: switch to using queuePriority based on referenceGroup order
2022-02-17 13:21:37 -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
Michael Rawlings
59821d22dd
fix: queueForEach should not run for empty scope
2022-02-16 11:49:56 -08:00
Manan Gupta
858564f107
Fix broken link on line 586 ( #1771 )
...
The location was wrapped in double quotes causing the link to not work.
2022-02-15 14:57:30 -07:00
Michael Rawlings
97bd5c8f95
chore: rename test
2022-02-09 14:07:59 -08:00
Michael Rawlings
13b6eac7a4
feat: cross-scope values with for tag, fix heap pop(), queueForEach/Branch queue before reading
2022-02-09 13:47:24 -08:00
Michael Rawlings
4aabd447bc
fix: correct sorting of references
2022-02-09 12:24:13 -08:00
Michael Rawlings
fad7fa54fc
fix: isNewGroup check was incorrect, caused duplicate writes
2022-02-08 06:53:21 -08:00
Michael Rawlings
d8eddfea0d
fix: adding an apply statement should not affect the hydrate loop
2022-02-08 06:47:16 -08:00
Michael Rawlings
c6a47ae08f
chore: build types on pre-commit
2022-02-07 07:39:06 -08:00
Michael Rawlings
87259feef6
refactor: fix lint issues
2022-02-07 07:39:06 -08:00
Michael Rawlings
44aba7aa3f
refactor: rename queueFactory => queueBuilder, exitCondition=>exitBranch
2022-02-07 07:39:06 -08:00
Michael Rawlings
b4b3330bfb
refactor: remove writer start/end, call flushBefore/Into directly
2022-02-07 07:39:06 -08:00
Michael Rawlings
a54240f9cb
refactor: defer writing apply/hydrate groups until program exit
2022-02-07 07:39:06 -08:00
Michael Rawlings
cbcc36f45f
chore: add example size tracking
2022-02-07 07:39:06 -08:00
Michael Rawlings
e79c89320d
refactor: remove path argument from writeApply/Hydrate
2022-02-07 07:39:06 -08:00
Michael Rawlings
f5629b4b38
refactor: pull apply/hydrate logic out of writer
2022-02-07 07:39:06 -08:00
Michael Rawlings
7bb729814c
refactor: remove path.state.sectionId
2022-02-07 07:39:06 -08:00
Michael Rawlings
d912b2e1cc
refactor: remove Section, we only work with sectionId now
2022-02-07 07:39:06 -08:00
Michael Rawlings
82c0995ee5
refactor: pull reserve logic out of sections.ts
2022-02-07 07:39:06 -08:00
Michael Rawlings
8c77bb4104
refactor: pull reservesByType off of Section object
2022-02-07 07:39:06 -08:00
Michael Rawlings
919fe69e23
refactor: remove SectionTranslate
2022-02-07 07:39:06 -08:00
Michael Rawlings
83aa4a5e33
refactor: remove passing path when we just needed the program, read the program from module context
2022-02-07 07:39:06 -08:00
Michael Rawlings
7acb5f3230
refactor: introduce queueFactory, pull queueInBranch logic into ifTag visitor
2022-02-07 07:39:06 -08:00
Michael Rawlings
5858ac02c0
refactor: use apply, hydrate, writes from section data lookup
2022-02-07 07:39:06 -08:00
Michael Rawlings
600a1e6f49
fix: don't run the default analyze hooks if there's a custom one
2022-02-07 07:39:06 -08:00