knockout.JS is the real king everything you see around now is just a successor
idk i feel it’s exact honest representation of what the data flow look like it’s deterministic as hell
you can’t escape waterfalls dooming even in the OG knockout.JS
idk what if it had a build time compiler step to just generate the static dependency graph
in the original Knockout, the runtime has to find the dependencies by watching the stack
in your version, compiler would scan the data-bind expressions and the ViewModel, generating an Execution Plan before the code ever runs
Knockout is notoriously bad at handling async tasks. compiled knockout would use Reactivity-as-a-Pipeline
$binding(Price)
.map(v => v * Tax)
.pipe(v => v.toFixed(2))
.toDOM("
#price-display");
compiler takes that pipeline and turns it into a hardcoded path so there is no function wrapper , no observable observer
simply just :)
price changes Value goes to the map function , goes to toFixed , Value touches the DOM
knockout should have win :(