Hacker News new | ask | show | jobs
by exesiv 281 days ago
React reactive framework: - are you moving a slider? lets re-render the whole tree every frame - oh you didn't want to re-render the whole page? shoulda used hooks ;)

Modern reactive framework: - looks like your slider is only updating one value on the page, let me surgically update that for you. no sweat ;)

1 comments

With the React Compiler, this isn't the case any longer.
I wish it were that simple too.. except React Compiler is yet another disappointment. Other frameworks got it right from the start, React is now following suit but not without a ton of caveats and more React rules.

How about simple proposition: I want to spend time on MY application logic not on "React code" aka hooks, resolvers, providers, etc etc etc?