chore: update snapshots

custom-render-shim-dom
paoloricciuti 6 months ago
parent 132ea2bcce
commit 403b17e944

@ -34,7 +34,7 @@ export default function Bind_component_snippet($$anchor) {
return $.get(value);
},
set value($$value) {
$.set(value, $.proxy($$value));
$.set(value, $$value, true);
}
});

@ -12,14 +12,14 @@ export default function Class_state_field_constructor_assignment($$anchor, $$pro
}
set a(value) {
$.set(this.#a, $.proxy(value));
$.set(this.#a, value, true);
}
#b = $.state();
constructor() {
this.a = 1;
this.#b.v = 2;
$.set(this.#b, 2);
}
}

@ -8,8 +8,8 @@ let d = 4;
export function update(array) {
(
$.set(a, $.proxy(array[0])),
$.set(b, $.proxy(array[1]))
$.set(a, array[0], true),
$.set(b, array[1], true)
);
[c, d] = array;

@ -13,7 +13,7 @@ export default function Function_prop_no_getter($$anchor) {
Button($$anchor, {
onmousedown: () => $.set(count, $.get(count) + 1),
onmouseup,
onmouseenter: () => $.set(count, $.proxy(plusOne($.get(count)))),
onmouseenter: () => $.set(count, plusOne($.get(count)), true),
children: ($$anchor, $$slotProps) => {
$.next();

Loading…
Cancel
Save