News for hackers. Stuff that matters.
Re:Web frameworks are transforming from runtime libraries in... by rich_harris on Monday September 11, 2017 @07:31AM (#15217678)
According to js-framework-benchmark (http://www.stefankrause.net/wp/?p=431) it doesn't just use much less memory than React, it uses less memory than any other framework, because we don't have the overhead of a virtual DOM. And yes, it's significantly faster.

I answered the deduplication point in another reply to the parent, but you make a great point about code-splitting. If you're using a convention runtime framework it doesn't matter how aggressively you code-split — your smallest chunk will be at least as large as your framework. Self-contained components solve that problem.

Re:Web frameworks are transforming from runtime libraries in... by hectorlorenzo on Monday September 11, 2017 @07:58AM (#15217812)
That is fantastic, thanks for the clarification. The problem with calling self-contained components on demand is more of a mindset one: we've grown too used to compiling everything into one single file and calling it a day.