by rahim_alwer · 4y ago · 0 comments
[0]: https://codesandbox.io/s/oby-bench-cellx-s6kusj?file=/lib.js
[0]: https://codesandbox.io/s/maverick-js-observables-bench-cellx...
$a(); // read
$a.set(20); // write (1)
$a.update((prev) => prev + 10); // write
why not $a(20) and $a(prev => prev + 10)?