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); return $.get(value);
}, },
set value($$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 a(value) {
$.set(this.#a, $.proxy(value)); $.set(this.#a, value, true);
} }
#b = $.state(); #b = $.state();
constructor() { constructor() {
this.a = 1; this.a = 1;
this.#b.v = 2; $.set(this.#b, 2);
} }
} }

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

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

Loading…
Cancel
Save