Hacker News new | ask | show | jobs
by dashersw 85 days ago
I don't want to recurse into philosophy but one could argue an assignment is more declarative than a function call :) Solid is function calls everywhere, and extra code, vs plain objects.
1 comments

Plain objects whose accessors contain nontrivial logic deferred using function calls - to be fair
I am pondering about this, but would love to see an example to make it more concrete. The way I see it is that this reactivity is completely on the compiler's side, and there's no more ambiguity or pitfalls than misrepresenting a dependency array in a react hook.