We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
// input #c = $state(); ... this.#c ??= {val: 0} // observed output $.set(this.#c, this.#c.v ?? { val: 0 }); // expected output, I guess $.set(this.#c, this.#c.v ?? { val: 0 }, true);
REPL
5.28.2
annoyance