2 ms·
> In addition, the entire Javascript ecosystem is rotten This is a common problem but it's certainly not the entire ecosystem. Check Preact, Svelte, Mithril,
by pier25 7y ago
> In addition, the entire Javascript ecosystem is rotten
This is a common problem but it's certainly not the entire ecosystem.
Check Preact, Svelte, Mithril, Inferno, etc. Those are very lightweight alternatives to React, Angular, etc.
Also with SRR + hydration or SPA with code splitting you can achieve very lightweight apps.
I'm working on a Svelte SSR + hydration app right now and on each page I load about 5kB of JavaScript, some as low as 2kB. See this repo for an example on how to set this up with Rollup and a Node server: https://github.com/PierBover/svelte-ssr-example https://github.com/PierBover/svelte-ssr-example