Skip to content

Commit cb22f46

Browse files
authored
Merge pull request #7265 from QwikDev/v2-props-as-var-props
fix: component props as var props
2 parents 9b92141 + fe8c395 commit cb22f46

21 files changed

+427
-104
lines changed

.changeset/fuzzy-jobs-compare.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@qwik.dev/core': patch
3+
---
4+
5+
fix: component props as var props

packages/qwik/src/core/tests/use-store.spec.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,8 @@ describe.each([
395395

396396
expect(vNode).toMatchVDOM(
397397
<Component ssr-required>
398-
<InlineComponent ssr-required>
399-
<InlineComponent ssr-required>
398+
<InlineComponent>
399+
<InlineComponent>
400400
<button class="repl-tab-button">Options</button>
401401
</InlineComponent>
402402
</InlineComponent>
@@ -407,8 +407,8 @@ describe.each([
407407

408408
expect(vNode).toMatchVDOM(
409409
<Component ssr-required>
410-
<InlineComponent ssr-required>
411-
<InlineComponent ssr-required>
410+
<InlineComponent>
411+
<InlineComponent>
412412
<button class="active-tab repl-tab-button">Options</button>
413413
</InlineComponent>
414414
</InlineComponent>

packages/qwik/src/optimizer/core/src/inlined_fn.rs

+43-4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ use swc_ecmascript::ast;
88
use swc_ecmascript::codegen::text_writer::JsWriter;
99
use swc_ecmascript::transforms::fixer;
1010
use swc_ecmascript::transforms::hygiene::hygiene_with_config;
11+
use swc_ecmascript::visit::{Visit, VisitWith};
1112
use swc_ecmascript::{
1213
utils::private_ident,
1314
visit::{VisitMut, VisitMutWith},
@@ -26,6 +27,7 @@ pub fn convert_inlined_fn(
2627
qqsegment: &Id,
2728
accept_call_expr: bool,
2829
serialize_fn: bool,
30+
is_const: bool,
2931
) -> (Option<ast::Expr>, bool) {
3032
let mut identifiers = HashMap::new();
3133
let params: Vec<ast::Pat> = scoped_idents
@@ -42,20 +44,26 @@ pub fn convert_inlined_fn(
4244
.collect();
4345

4446
if matches!(expr, ast::Expr::Arrow(_)) {
45-
return (None, false);
47+
return (None, is_const);
48+
}
49+
50+
println!("{:?}", is_used_as_object(&expr, &scoped_idents));
51+
52+
if !is_used_as_object(&expr, &scoped_idents) {
53+
return (None, is_const);
4654
}
4755

4856
// Replace identifier
4957
let mut replace_identifiers = ReplaceIdentifiers::new(identifiers, accept_call_expr);
5058
expr.visit_mut_with(&mut replace_identifiers);
5159

5260
if replace_identifiers.abort {
53-
return (None, false);
61+
return (None, is_const);
5462
}
5563

5664
let rendered_expr = render_expr(&expr);
5765
if rendered_expr.len() > 150 {
58-
return (None, false);
66+
return (None, is_const);
5967
}
6068

6169
if scoped_idents.is_empty() {
@@ -98,7 +106,7 @@ pub fn convert_inlined_fn(
98106
args,
99107
..Default::default()
100108
})),
101-
true,
109+
is_const,
102110
)
103111
}
104112

@@ -199,3 +207,34 @@ pub fn render_expr(expr: &ast::Expr) -> String {
199207
.trim_end_matches(';')
200208
.to_string()
201209
}
210+
211+
struct ObjectUsageChecker<'a> {
212+
identifiers: &'a Vec<Id>,
213+
used_as_object: bool,
214+
}
215+
216+
impl<'a> Visit for ObjectUsageChecker<'a> {
217+
fn visit_member_expr(&mut self, node: &ast::MemberExpr) {
218+
if let ast::Expr::Ident(obj_ident) = &*node.obj {
219+
for id in self.identifiers {
220+
if obj_ident.sym == id.0 {
221+
println!("Used as object: {:?}", obj_ident.sym);
222+
self.used_as_object = true;
223+
return;
224+
}
225+
}
226+
}
227+
node.visit_children_with(self);
228+
}
229+
}
230+
231+
fn is_used_as_object(expr: &ast::Expr, identifiers: &Vec<Id>) -> bool {
232+
let mut checker = ObjectUsageChecker {
233+
identifiers,
234+
used_as_object: false,
235+
};
236+
237+
expr.visit_with(&mut checker);
238+
239+
checker.used_as_object
240+
}

packages/qwik/src/optimizer/core/src/snapshots/qwik_core__test__destructure_args_colon_props.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
source: packages/qwik/src/optimizer/core/src/test.rs
3-
assertion_line: 3651
3+
assertion_line: 3715
44
expression: output
55
snapshot_kind: text
66
---
@@ -31,7 +31,7 @@ import { Fragment as _Fragment } from "@qwik.dev/core/jsx-runtime";
3131
import { _jsxSorted } from "@qwik.dev/core";
3232
import { _wrapProp } from "@qwik.dev/core";
3333
export const test_component_LUXeXe0DQrg = (props)=>{
34-
return /*#__PURE__*/ _jsxSorted(_Fragment, null, null, _wrapProp(props, "bind:value"), 3, "u6_0");
34+
return /*#__PURE__*/ _jsxSorted(_Fragment, null, null, _wrapProp(props, "bind:value"), 1, "u6_0");
3535
};
3636

3737

packages/qwik/src/optimizer/core/src/snapshots/qwik_core__test__destructure_args_colon_props3.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const test_component_LUXeXe0DQrg = (props)=>{
4040
useSignal(rest['bind:value']);
4141
return /*#__PURE__*/ _jsxSorted(_Fragment, null, null, _fnSignal((p0)=>p0.test.value, [
4242
props
43-
], "p0.test.value"), 3, "u6_0");
43+
], "p0.test.value"), 1, "u6_0");
4444
};
4545

4646

packages/qwik/src/optimizer/core/src/snapshots/qwik_core__test__destructure_args_inline_cmp_block_stmt.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ import { _fnSignal } from "@qwik.dev/core";
2424
import { qrl } from "@qwik.dev/core";
2525
import { _jsxSorted } from "@qwik.dev/core";
2626
export default ((props)=>{
27-
return /*#__PURE__*/ _jsxSorted("div", null, {
27+
return /*#__PURE__*/ _jsxSorted("div", {
2828
"data-is-active": _fnSignal((p0)=>p0.data.selectedOutputDetail === 'options', [
2929
props
3030
], 'p0.data.selectedOutputDetail==="options"'),
3131
onClick$: /*#__PURE__*/ qrl(()=>import("./test.tsx_test_div_onClick_GbMO6TGQv9M"), "test_div_onClick_GbMO6TGQv9M", [
3232
props
3333
])
34-
}, null, 3, "u6_0");
34+
}, null, null, 2, "u6_0");
3535
});
3636

3737

packages/qwik/src/optimizer/core/src/snapshots/qwik_core__test__destructure_args_inline_cmp_block_stmt2.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ import { _fnSignal } from "@qwik.dev/core";
2525
import { qrl } from "@qwik.dev/core";
2626
import { _jsxSorted } from "@qwik.dev/core";
2727
export default ((props)=>{
28-
return /*#__PURE__*/ _jsxSorted("div", null, {
28+
return /*#__PURE__*/ _jsxSorted("div", {
2929
"data-is-active": _fnSignal((p0)=>p0.data.selectedOutputDetail === 'options', [
3030
props
3131
], 'p0.data.selectedOutputDetail==="options"'),
3232
onClick$: /*#__PURE__*/ qrl(()=>import("./test.tsx_test_div_onClick_GbMO6TGQv9M"), "test_div_onClick_GbMO6TGQv9M", [
3333
props
3434
])
35-
}, null, 3, "u6_0");
35+
}, null, null, 2, "u6_0");
3636
});
3737

3838

packages/qwik/src/optimizer/core/src/snapshots/qwik_core__test__destructure_args_inline_cmp_expr_stmt.snap

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ snapshot_kind: text
2020
import { _fnSignal } from "@qwik.dev/core";
2121
import { qrl } from "@qwik.dev/core";
2222
import { _jsxSorted } from "@qwik.dev/core";
23-
export default ((props)=>/*#__PURE__*/ _jsxSorted("div", null, {
23+
export default ((props)=>/*#__PURE__*/ _jsxSorted("div", {
2424
"data-is-active": _fnSignal((p0)=>p0.data.selectedOutputDetail === 'options', [
2525
props
2626
], 'p0.data.selectedOutputDetail==="options"'),
2727
onClick$: /*#__PURE__*/ qrl(()=>import("./test.tsx_test_div_onClick_GbMO6TGQv9M"), "test_div_onClick_GbMO6TGQv9M", [
2828
props
2929
])
30-
}, null, 3, "u6_0"));
30+
}, null, null, 2, "u6_0"));
3131

3232

33-
Some("{\"version\":3,\"sources\":[\"/user/qwik/src/test.tsx\"],\"names\":[],\"mappings\":\";;;AACE,eAAe,CAAA,uBACL,WAAC;QACC,gBAAc,kBAAE,GAFV,KAEe,oBAAoB,KAAK;;;QAC9C,QAAQ;;;uBAGT,EAAE\"}")
33+
Some("{\"version\":3,\"sources\":[\"/user/qwik/src/test.tsx\"],\"names\":[],\"mappings\":\";;;AACE,eAAe,CAAA,uBACL,WAAC;QACC,gBAAc,kBAAE,GAFV,KAEe,oBAAoB,KAAK;;;QAC9C,QAAQ;;;6BAGT,EAAE\"}")
3434
============================= test.tsx_test_div_onClick_GbMO6TGQv9M.js (ENTRY POINT)==
3535

3636
import { useLexicalScope } from "@qwik.dev/core";

packages/qwik/src/optimizer/core/src/snapshots/qwik_core__test__example_component_with_event_listeners_inside_loop.snap

+11-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
source: packages/qwik/src/optimizer/core/src/test.rs
3-
assertion_line: 3850
3+
assertion_line: 3979
44
expression: output
55
snapshot_kind: text
66
---
@@ -291,7 +291,10 @@ export const App_component_ckEPmXZlub0 = ()=>{
291291
i,
292292
results
293293
])
294-
}, null, results[i], 0, "u6_1"));
294+
}, null, _fnSignal((p0, p1)=>p1[p0], [
295+
i,
296+
results
297+
], "p1[p0]"), 0, "u6_1"));
295298
return items;
296299
}
297300
function loopForOf(results) {
@@ -315,7 +318,7 @@ export const App_component_ckEPmXZlub0 = ()=>{
315318
}, null, _fnSignal((p0, p1)=>p1[p0], [
316319
key,
317320
results
318-
], "p1[p0]"), 2, "u6_3"));
321+
], "p1[p0]"), 0, "u6_3"));
319322
return items;
320323
}
321324
function loopWhile(results) {
@@ -328,7 +331,10 @@ export const App_component_ckEPmXZlub0 = ()=>{
328331
i,
329332
results
330333
])
331-
}, null, results[i], 0, "u6_4"));
334+
}, null, _fnSignal((p0, p1)=>p1[p0], [
335+
i,
336+
results
337+
], "p1[p0]"), 0, "u6_4"));
332338
i++;
333339
}
334340
return items;
@@ -351,7 +357,7 @@ export const App_component_ckEPmXZlub0 = ()=>{
351357
};
352358

353359

354-
Some("{\"version\":3,\"sources\":[\"/user/qwik/src/test.tsx\"],\"names\":[],\"mappings\":\";;;;;yCAE8B;IACxB,MAAM,OAAO,SAAmB,EAAE;IAClC,MAAM,UAAU,UAAU;QAAC;KAAM;IACjC,SAAS,YAAY,OAAiB;QACpC,OAAO,QAAQ,GAAG,CAAC,CAAC,qBAClB,WAAC;gBACC,QAAQ;;;;qBAIP;IAGP;IACA,SAAS,SAAS,OAAiB;QACjC,MAAM,QAAQ,EAAE;QAChB,IAAK,IAAI,IAAI,GAAG,IAAI,QAAQ,MAAM,EAAE,IAClC,MAAM,IAAI,eACR,WAAC;YACC,QAAQ;;;;;iBAIP,OAAO,CAAC,EAAE;QAIjB,OAAO;IACT;IACA,SAAS,UAAU,OAAiB;QAClC,MAAM,QAAQ,EAAE;QAChB,KAAK,MAAM,QAAQ,QACjB,MAAM,IAAI,eACR,WAAC;YACC,QAAQ;;;;iBAIP;QAIP,OAAO;IACT;IACA,SAAS,UAAU,OAAiB;QAClC,MAAM,QAAQ,EAAE;QAChB,IAAK,MAAM,OAAO,QAChB,MAAM,IAAI,eACR,WAAC;YACC,QAAQ;;;;;qCAIP,EAAO,IAAK;;;;QAInB,OAAO;IACT;IACA,SAAS,UAAU,OAAiB;QAClC,MAAM,QAAQ,EAAE;QAChB,IAAI,IAAI;QACR,MAAO,IAAI,QAAQ,MAAM,CAAE;YACzB,MAAM,IAAI,eACR,WAAC;gBACC,QAAQ;;;;;qBAIP,OAAO,CAAC,EAAE;YAGf;QACF;QACA,OAAO;IACT;IACA,qBACE,WAAC;QACE,QAAQ,KAAK,CAAC,GAAG,CAAC,CAAC,qBAClB,WAAC;gBAEC,QAAQ;;;;;gBADR,IAAG;eAKF;QAGJ,YAAY,QAAQ,KAAK;QACzB,SAAS,QAAQ,KAAK;QACtB,UAAU,QAAQ,KAAK;QACvB,UAAU,QAAQ,KAAK;QACvB,UAAU,QAAQ,KAAK;;AAG9B\"}")
360+
Some("{\"version\":3,\"sources\":[\"/user/qwik/src/test.tsx\"],\"names\":[],\"mappings\":\";;;;;yCAE8B;IACxB,MAAM,OAAO,SAAmB,EAAE;IAClC,MAAM,UAAU,UAAU;QAAC;KAAM;IACjC,SAAS,YAAY,OAAiB;QACpC,OAAO,QAAQ,GAAG,CAAC,CAAC,qBAClB,WAAC;gBACC,QAAQ;;;;qBAIP;IAGP;IACA,SAAS,SAAS,OAAiB;QACjC,MAAM,QAAQ,EAAE;QAChB,IAAK,IAAI,IAAI,GAAG,IAAI,QAAQ,MAAM,EAAE,IAClC,MAAM,IAAI,eACR,WAAC;YACC,QAAQ;;;;;qCAIP,EAAO,IAAG;;;;QAIjB,OAAO;IACT;IACA,SAAS,UAAU,OAAiB;QAClC,MAAM,QAAQ,EAAE;QAChB,KAAK,MAAM,QAAQ,QACjB,MAAM,IAAI,eACR,WAAC;YACC,QAAQ;;;;iBAIP;QAIP,OAAO;IACT;IACA,SAAS,UAAU,OAAiB;QAClC,MAAM,QAAQ,EAAE;QAChB,IAAK,MAAM,OAAO,QAChB,MAAM,IAAI,eACR,WAAC;YACC,QAAQ;;;;;qCAIP,EAAO,IAAK;;;;QAInB,OAAO;IACT;IACA,SAAS,UAAU,OAAiB;QAClC,MAAM,QAAQ,EAAE;QAChB,IAAI,IAAI;QACR,MAAO,IAAI,QAAQ,MAAM,CAAE;YACzB,MAAM,IAAI,eACR,WAAC;gBACC,QAAQ;;;;;yCAIP,EAAO,IAAG;;;;YAGf;QACF;QACA,OAAO;IACT;IACA,qBACE,WAAC;QACE,QAAQ,KAAK,CAAC,GAAG,CAAC,CAAC,qBAClB,WAAC;gBAEC,QAAQ;;;;;gBADR,IAAG;eAKF;QAGJ,YAAY,QAAQ,KAAK;QACzB,SAAS,QAAQ,KAAK;QACtB,UAAU,QAAQ,KAAK;QACvB,UAAU,QAAQ,KAAK;QACvB,UAAU,QAAQ,KAAK;;AAG9B\"}")
355361
/*
356362
{
357363
"origin": "test.tsx",

packages/qwik/src/optimizer/core/src/snapshots/qwik_core__test__example_derived_signals_children.snap

+3-3
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ const TextContent_component_puSwpKXO7Kg = (props)=>{
6565
/*#__PURE__*/ _jsxSorted("div", null, null, [
6666
"data-nu: ",
6767
_wrapProp(props, "data-nu")
68-
], 3, null),
68+
], 1, null),
6969
/*#__PURE__*/ _jsxSorted("div", null, null, [
7070
"class: ",
7171
_wrapProp(props, "class")
72-
], 3, null)
73-
], 3, "u6_0");
72+
], 1, null)
73+
], 1, "u6_0");
7474
};
7575
export const TextContent = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl(TextContent_component_puSwpKXO7Kg, "TextContent_component_puSwpKXO7Kg"));
7676
const App_component_ckEPmXZlub0 = ()=>{

packages/qwik/src/optimizer/core/src/snapshots/qwik_core__test__example_derived_signals_div.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ export const App = component$((props) => {
6262
============================= test.js ==
6363

6464
import { componentQrl } from "@qwik.dev/core";
65-
import { _wrapProp } from "@qwik.dev/core";
6665
import { _fnSignal } from "@qwik.dev/core";
66+
import { _wrapProp } from "@qwik.dev/core";
6767
import { _jsxSorted } from "@qwik.dev/core";
6868
import { inlinedQrl } from "@qwik.dev/core";
6969
import { useStore, mutable } from '@qwik.dev/core';

packages/qwik/src/optimizer/core/src/snapshots/qwik_core__test__example_getter_generation.snap

+6-6
Original file line numberDiff line numberDiff line change
@@ -57,21 +57,21 @@ import { _jsxSorted } from "@qwik.dev/core";
5757
import { _wrapProp } from "@qwik.dev/core";
5858
export const Cmp_component_4ryKJTOKjWE = (props)=>{
5959
return /*#__PURE__*/ _jsxSorted(_Fragment, null, null, [
60-
/*#__PURE__*/ _jsxSorted("p", null, {
60+
/*#__PURE__*/ _jsxSorted("p", {
6161
"data-value": _wrapProp(props, "count")
62-
}, _fnSignal((p0)=>p0.nested.count, [
62+
}, null, _fnSignal((p0)=>p0.nested.count, [
6363
props
64-
], "p0.nested.count"), 3, null),
64+
], "p0.nested.count"), 1, null),
6565
/*#__PURE__*/ _jsxSorted("p", null, null, [
6666
"Value ",
6767
_wrapProp(props, "count"),
6868
/*#__PURE__*/ _jsxSorted("span", null, null, null, 3, null)
69-
], 3, null)
70-
], 3, "u6_1");
69+
], 1, null)
70+
], 1, "u6_1");
7171
};
7272

7373

74-
Some("{\"version\":3,\"sources\":[\"/user/qwik/src/test.tsx\"],\"names\":[],\"mappings\":\";;;;yCAyB8B,CAAC;IAC9B,qBACC;sBACC,WAAC;YAAE,YAAU,YAAE;2BAAc,GAAM,MAAM,CAAC,KAAK;;;sBAC/C,WAAC;YAAE;sBAAO;0BAAY,WAAC;;;AAG1B\"}")
74+
Some("{\"version\":3,\"sources\":[\"/user/qwik/src/test.tsx\"],\"names\":[],\"mappings\":\";;;;yCAyB8B,CAAC;IAC9B,qBACC;sBACC,WAAC;YAAE,YAAU,YAAE;iCAAc,GAAM,MAAM,CAAC,KAAK;;;sBAC/C,WAAC;YAAE;sBAAO;0BAAY,WAAC;;;AAG1B\"}")
7575
/*
7676
{
7777
"origin": "test.tsx",

packages/qwik/src/optimizer/core/src/snapshots/qwik_core__test__example_issue_33443.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ const Issue3742_component_div_button_onClick_a504K2BCEXg = ()=>{
3737
};
3838
const Issue3742_component_svSy0PlWTAw = (props)=>{
3939
const counter = useSignal(0);
40-
return /*#__PURE__*/ _jsxSorted("div", null, {
40+
return /*#__PURE__*/ _jsxSorted("div", {
4141
title: _fnSignal((p0, p1)=>(p1.description ?? '') && 'description' in p1.other ? `Hello ${p0.value}` : `Bye ${p0.value}`, [
4242
counter,
4343
props
4444
], '(p1.description??"")&&"description"in p1.other?`Hello ${p0.value}`:`Bye ${p0.value}`')
45-
}, [
45+
}, null, [
4646
"Issue3742",
4747
/*#__PURE__*/ _jsxSorted("button", null, {
4848
onClick$: /*#__PURE__*/ inlinedQrl(Issue3742_component_div_button_onClick_a504K2BCEXg, "Issue3742_component_div_button_onClick_a504K2BCEXg", [

packages/qwik/src/optimizer/core/src/snapshots/qwik_core__test__example_mutable_children.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ const AppStatic_component_gYRXqF3G5nE = (props)=>{
169169
/*#__PURE__*/ _jsxSorted("div", null, null, [
170170
"Static ",
171171
_wrapProp(props)
172-
], 3, null),
172+
], 1, null),
173173
/*#__PURE__*/ _jsxSorted("div", null, null, [
174174
"Static ",
175175
stuff()

packages/qwik/src/optimizer/core/src/snapshots/qwik_core__test__example_props_wrapping.snap

+10-11
Original file line numberDiff line numberDiff line change
@@ -33,30 +33,29 @@ import { useSignal } from '@qwik.dev/core';
3333
export const Works = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((props)=>{
3434
let fromLocal = useSignal(0);
3535
return /*#__PURE__*/ _jsxSorted("div", {
36-
local: fromLocal
37-
}, {
3836
computed: _fnSignal((p0, p1)=>p0 + p1.fromProps, [
3937
fromLocal,
4038
props
4139
], "p0+p1.fromProps"),
42-
"props-wrap": _wrapProp(props, "fromProps"),
43-
"props-only": _fnSignal((p0)=>({
44-
props: p0.fromProps
45-
}), [
46-
props
47-
], "{props:p0.fromProps}"),
40+
local: fromLocal,
4841
props: _fnSignal((p0, p1)=>({
4942
props: p1.fromProps,
5043
local: p0
5144
}), [
5245
fromLocal,
5346
props
54-
], "{props:p1.fromProps,local:p0}")
55-
}, null, 3, "u6_0");
47+
], "{props:p1.fromProps,local:p0}"),
48+
"props-only": _fnSignal((p0)=>({
49+
props: p0.fromProps
50+
}), [
51+
props
52+
], "{props:p0.fromProps}"),
53+
"props-wrap": _wrapProp(props, "fromProps")
54+
}, null, null, 3, "u6_0");
5655
}, "Works_component_t45qL4vNGv0"));
5756

5857

59-
Some("{\"version\":3,\"sources\":[\"/user/qwik/src/test.tsx\"],\"names\":[],\"mappings\":\";;;;;AACA,SAAwB,SAAS,QAAQ,iBAAiB;AAC1D,OAAO,MAAM,sBAAQ,sCAAW;IAC/B,IAAI,YAAY,UAAU;IAC1B,qBACC,WAAC;QAEA,OAAO;;QADP,QAAQ,sBAAE,QAJqB;;;;QAM/B,YAAU;QACV,YAAU,kBAAE,CAAA;gBAAC,KAAK,KAPa;YAOF,CAAA;;;QAC7B,KAAK,sBAAE,CAAA;gBAAC,KAAK,KARkB;gBAQL,KAAK;YAAW,CAAA;;;;;AAI7C,mCAAG\"}")
58+
Some("{\"version\":3,\"sources\":[\"/user/qwik/src/test.tsx\"],\"names\":[],\"mappings\":\";;;;;AACA,SAAwB,SAAS,QAAQ,iBAAiB;AAC1D,OAAO,MAAM,sBAAQ,sCAAW;IAC/B,IAAI,YAAY,UAAU;IAC1B,qBACC,WAAC;QACA,QAAQ,sBAAE,QAJqB;;;;QAK/B,OAAO;QAGP,KAAK,sBAAE,CAAA;gBAAC,KAAK,KARkB;gBAQL,KAAK;YAAW,CAAA;;;;QAD1C,YAAU,kBAAE,CAAA;gBAAC,KAAK,KAPa;YAOF,CAAA;;;QAD7B,YAAU;;AAMb,mCAAG\"}")
6059
== DIAGNOSTICS ==
6160

6261
[]

0 commit comments

Comments
 (0)