Commit 3e50baf
committed
feat: native lazy load imports
1 parent 70846fd commit 3e50baf
526 files changed
Lines changed: 9508 additions & 510 deletions
File tree
- .changeset
- .sizes
- comments.csr
- comments.ssr
- counter.csr
- counter.ssr
- packages
- compiler
- src
- runtime-class/src
- runtime/helpers
- translator
- tag
- runtime-tags/src
- __tests__
- fixtures-interop
- custom-tag-parameters-from-args/__snapshots__
- interop-basic-class-to-tags/__snapshots__
- interop-class-to-tags-import/__snapshots__
- interop-event-handler-render-body-tags-to-class/__snapshots__
- interop-events-tags-to-class/__snapshots__
- interop-nested-attr-tags-class-to-tags/__snapshots__
- interop-nested-class-to-tags/__snapshots__
- interop-nested-tags-to-class/__snapshots__
- interop-tag-params-class-to-tags/__snapshots__
- interop-tag-params-tags-to-class/__snapshots__
- lazy-class-child-attrs-update
- __snapshots__
- lazy-class-child-basic
- __snapshots__
- lazy-class-child-csr-only
- __snapshots__
- lazy-class-child-ssr-only
- __snapshots__
- lazy-class-child-unmount-before-load
- __snapshots__
- lazy-class-child
- __snapshots__
- let/__snapshots__
- fixtures
- assign-destructured-increment/__snapshots__
- assign-destructured-reduced/__snapshots__
- assign-destructured/__snapshots__
- assign-in-wrapped-function/__snapshots__
- assign-live-read/__snapshots__
- assign-to-owner-closure/__snapshots__
- assign-to-pruned-let-with-change-handler/__snapshots__
- async-multi-resolve-in-order-and-update/__snapshots__
- async-reject-then-resolve-before-and-after-isolated-boundaries/__snapshots__
- async-state/__snapshots__
- at-tags-dynamic-with-params/__snapshots__
- at-tags-for-loop-param-intersection-closure/__snapshots__
- attr-boolean-dynamic/__snapshots__
- attr-value-with-dollar-brace/__snapshots__
- await-cleanup/__snapshots__
- await-closure-function/__snapshots__
- await-closure-in-order/__snapshots__
- await-closure-within/__snapshots__
- await-closure/__snapshots__
- await-remove-parent/__snapshots__
- await-tag/__snapshots__
- await-update-after-resume/__snapshots__
- await-update-before-resume/__snapshots__
- basic-component-attrs/__snapshots__
- basic-component-input-alias/__snapshots__
- basic-component-input-same-source-alias-within-pattern/__snapshots__
- basic-component-input-same-source-alias/__snapshots__
- basic-component-input/__snapshots__
- basic-component-renderBody/__snapshots__
- basic-component/__snapshots__
- basic-conditional-counter-multiple-nodes/__snapshots__
- basic-conditional-counter/__snapshots__
- basic-counter-const-event-handler/__snapshots__
- basic-counter-multiplier/__snapshots__
- basic-counter/__snapshots__
- basic-execution-order/__snapshots__
- basic-fn-with-block/__snapshots__
- basic-handler-multi-ref-nested/__snapshots__
- basic-handler-refless/__snapshots__
- basic-inert-collapsible-tree/__snapshots__
- basic-member-expression-computed/__snapshots__
- basic-member-expression-optional/__snapshots__
- basic-merge-member-expression/__snapshots__
- basic-nested-for/__snapshots__
- basic-nested-params/__snapshots__
- basic-nested-scope-custom-tag/__snapshots__
- basic-nested-scope-dynamic-tag/__snapshots__
- basic-nested-scope-for/__snapshots__
- basic-nested-scope-if/__snapshots__
- basic-push-pop-list/__snapshots__
- basic-toggle-show/__snapshots__
- basic-unused-ref/__snapshots__
- batched-updates-cleanup/__snapshots__
- batched-updates/__snapshots__
- bind-to-input/__snapshots__
- body-content/__snapshots__
- cleanup-n-child-for-shallow/__snapshots__
- cleanup-n-child-if-deep/__snapshots__
- cleanup-n-child-if-same-scope/__snapshots__
- cleanup-n-child-if-shallow/__snapshots__
- cleanup-single-child-for-deep/__snapshots__
- cleanup-single-child-for-shallow/__snapshots__
- cleanup-single-child-if-deep/__snapshots__
- cleanup-single-child-if-same-scope/__snapshots__
- cleanup-single-child-if-shallow/__snapshots__
- closure-serialize-reason/__snapshots__
- component-attrs-import-value/__snapshots__
- component-attrs-intersection/__snapshots__
- component-attrs-static-code/__snapshots__
- conditional-dynamic-tag-in-loop-closure/__snapshots__
- conditional-table-row/__snapshots__
- content-with-state/__snapshots__
- controllable-checked-many/__snapshots__
- controllable-checked-spread/__snapshots__
- controllable-checked-value-multiple-number/__snapshots__
- controllable-checked-value-spread/__snapshots__
- controllable-checked-values-spread/__snapshots__
- controllable-checked-values/__snapshots__
- controllable-checked-value/__snapshots__
- controllable-checked/__snapshots__
- controllable-details-open/__snapshots__
- controllable-dialog-open/__snapshots__
- controllable-dynamic-checkbox-checked-value/__snapshots__
- controllable-input-number-member-modifier-value/__snapshots__
- controllable-input-number-modifier-value/__snapshots__
- controllable-input-value-spread/__snapshots__
- controllable-select-dynamic-spread/__snapshots__
- controllable-select-multiple-value-number/__snapshots__
- controllable-select-mutated-option/__snapshots__
- controllable-select-spread/__snapshots__
- controllable-select-value-number/__snapshots__
- controllable-select/__snapshots__
- controllable-textarea-value-spread/__snapshots__
- counter-intersection/__snapshots__
- cross-tag-closure/__snapshots__
- custom-tag-parameters-from-args/__snapshots__
- custom-tag-parameters-from-attributes/__snapshots__
- custom-tag-parameters-from-single-arg/__snapshots__
- custom-tag-var-assignment/__snapshots__
- custom-tag-var-in-body/__snapshots__
- custom-tag-var-intersection/__snapshots__
- custom-tag-var/__snapshots__
- define-tag-for-attribute-tag/__snapshots__
- define-tag-render-args/__snapshots__
- define-tag-render-attr-signal/__snapshots__
- define-tag-render-closure/__snapshots__
- define-tag-render-conditional/__snapshots__
- define-tag-render/__snapshots__
- destructure-input-with-assignment/__snapshots__
- destructure-stateful-upstream-alias/__snapshots__
- dollar-global-client/__snapshots__
- dynamic-closure-multiple/__snapshots__
- dynamic-closures/__snapshots__
- dynamic-content-attr/__snapshots__
- dynamic-event-handlers/__snapshots__
- dynamic-native-dynamic-tag/__snapshots__
- dynamic-native-tag-events/__snapshots__
- dynamic-tag-args-tag-var/__snapshots__
- dynamic-tag-args/__snapshots__
- dynamic-tag-attr-signal/__snapshots__
- dynamic-tag-custom-native/__snapshots__
- dynamic-tag-custom-tags/__snapshots__
- dynamic-tag-input-intersection/__snapshots__
- dynamic-tag-single-arg/__snapshots__
- dynamic-tag-var-assignment/__snapshots__
- dynamic-tag-var-in-body/__snapshots__
- dynamic-tag-with-updating-body/__snapshots__
- embed-counter/__snapshots__
- expression-statement-tag-var-assignment/__snapshots__
- for-by-use-index/__snapshots__
- for-destructure/__snapshots__
- for-event-handler/__snapshots__
- for-loop-closure-remove-all-items/__snapshots__
- for-tag-single-node-only-child-in-parent/__snapshots__
- for-tag-single-text-node-with-text-before/__snapshots__
- for-tag-static-value-with-closure/__snapshots__
- for-tag-with-state/__snapshots__
- hoist-custom-tag-var-attr-tag/__snapshots__
- hoist-custom-tag-var-from-dynamic/__snapshots__
- hoist-custom-tag-var-many/__snapshots__
- hoist-custom-tag-var-minimum-scope/__snapshots__
- hoist-custom-tag-var-same-scope-calls-only/__snapshots__
- hoist-custom-tag-var-same-scope/__snapshots__
- hoist-custom-tag-var/__snapshots__
- hoist-dynamic-tag-var-from-dynamic/__snapshots__
- hoist-dynamic-tag-var-many/__snapshots__
- hoist-dynamic-tag-var/__snapshots__
- hoist-return-ref/__snapshots__
- html-comment-counter/__snapshots__
- html-script-nonce/__snapshots__
- html-script/__snapshots__
- html-style-nonce/__snapshots__
- html-style/__snapshots__
- id-tag-default/__snapshots__
- if-default-false/__snapshots__
- if-member-expression-intersection/__snapshots__
- if-no-content-script/__snapshots__
- inert-control-flow-only-child-event/__snapshots__
- inert-control-flow-only-child-select-event/__snapshots__
- inert-if-closure-update-active/__snapshots__
- inert-if-closure-update-inactive/__snapshots__
- known-define-tag-empty-section-closure/__snapshots__
- lazy-tag-attrs-update
- __snapshots__
- lazy-tag-conditional
- __snapshots__
- lazy-tag-csr-only
- __snapshots__
- lazy-tag-dynamic-attrs-update
- __snapshots__
- lazy-tag-dynamic-placeholder
- __snapshots__
- lazy-tag-dynamic-unmount-before-load
- __snapshots__
- lazy-tag-dynamic
- __snapshots__
- lazy-tag-first-show
- __snapshots__
- lazy-tag-mixed-position
- __snapshots__
- lazy-tag-multiple
- __snapshots__
- lazy-tag-nested
- __snapshots__
- lazy-tag-placeholder
- __snapshots__
- lazy-tag-ssr-only
- __snapshots__
- lazy-tag-unmount-before-load
- __snapshots__
- lazy-tag
- __snapshots__
- let-basic-member-expression-never-update/__snapshots__
- let-bind-stateful-upstream-alias/__snapshots__
- let-intersection-child-var-custom-tag/__snapshots__
- let-intersection-child-var-define/__snapshots__
- let-tag-controllable-child/__snapshots__
- let-tag-controllable-dynamic-change-handler/__snapshots__
- let-tag-controllable-static/__snapshots__
- let-tag-set-in-effect/__snapshots__
- let-tag-with-intersection/__snapshots__
- let-tag/__snapshots__
- let-undefined-until-dom/__snapshots__
- lifecycle-tag-assignment/__snapshots__
- lifecycle-tag-conditional/__snapshots__
- lifecycle-tag-this-attrs/__snapshots__
- lifecycle-tag/__snapshots__
- merged-define-tag-templates/__snapshots__
- migrate-effect-tag/__snapshots__
- multiple-binds/__snapshots__
- multiple-bound-values/__snapshots__
- namespaced-tags/__snapshots__
- native-tag-local-closures/__snapshots__
- nested-assignment-expression/__snapshots__
- nested-for-if-stateful/__snapshots__
- no-render-content-conditional/__snapshots__
- no-render-content-subtree/__snapshots__
- param-destructure-dynamic-default/__snapshots__
- pure-signal/__snapshots__
- read-proposed-tag-variable-after-write/__snapshots__
- reference-in-own-body/__snapshots__
- resume-single-node/__snapshots__
- return-serialize-circular/__snapshots__
- return-tag-bind-type-casting/__snapshots__
- return-value-registered/__snapshots__
- returns-within-define-tag/__snapshots__
- same-source-non-alias/__snapshots__
- self-reference-function-named/__snapshots__
- shadow-same-scope/__snapshots__
- spread-to-known-rest-input-with-attr-tags-deopt/__snapshots__
- static-text-followed-by-placeholder/__snapshots__
- style-attr-toggle-with-static-content/__snapshots__
- tag-param-if-closure/__snapshots__
- tag-var-destructure/__snapshots__
- tag-var-rest/__snapshots__
- tag-var-with-serialize-reason/__snapshots__
- text-content-counter/__snapshots__
- textarea-dynamic-text/__snapshots__
- toggle-nested-2/__snapshots__
- toggle-nested-3/__snapshots__
- toggle-only-child/__snapshots__
- toggle-stateful-component/__snapshots__
- trailing-tag-dynamic-attr/__snapshots__
- try-effects-async/__snapshots__
- try-effects-catch-state/__snapshots__
- uncontrolled-details-open-default-update/__snapshots__
- uncontrolled-dialog-open-default-update/__snapshots__
- uncontrolled-input-checked-default-update/__snapshots__
- uncontrolled-input-radio-checkedValue-default-update/__snapshots__
- uncontrolled-input-value-default-update/__snapshots__
- uncontrolled-select-value-default-update/__snapshots__
- unused-dynamic-tag-body-serialize-reason/__snapshots__
- used-var-mutation-registered-function/__snapshots__
- utils
- common
- dom
- html
- translator
- interop
- util
- visitors
- program
- tag
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments