Hacker News new | ask | show | jobs
by beders 351 days ago
This is what happens when a V also wants to do the M and the C.

But I would say most front-end libraries are insane: Their job is to manipulate a tree structure which is kinda slow (still?).

Who would have thought that this problem has such a crazy solution space!

From jQuery to Knockout.js to Angular to Vue to React to Svelte and many many others.

Only a couple of those understand that V = f(state) is only half the equation.

1 comments

I'm struck thinking that this doesn't have to be the case, though? I see things like Mario Maker and struggle to understand why that sort of interface isn't doable in the workflows so many of us force ourselves into.

Even taking it to the abstractions you are using, manipulating a tree structure doesn't have to be slow. Indeed, you can manipulate a graph like structure representing millions of data points in very little time. Why is it that the tree structures we are talking about are so unnecessarily big and flow out their updates out in such a way that it takes so long?