That doesn't include the overhead of parsing & executing all that, not to mention the runtime overheads of every interaction having to go through megabytes of crap JS instead of native, battle-tested browser code refined over 2 decades.
> That doesn't include the overhead of parsing & executing all that
I would say "50KB of zipped javascript framework" includes parsing and execution.
> not to mention the runtime overheads of every interaction having to go through megabytes of crap JS
...do I have the wrong number? Even when you decompress those 50KB, it's less than 150KB of javascript.
> instead of native, battle-tested browser code refined over 2 decades.
Browsers don't have native code for dynamically updating the page. Without javascript the solution is reloading, which adds a lot more overhead than the equivalent react.