This content originally appeared on Go Make Things and was authored by Go Make Things
Over the summer, I wrote about the rise of JavaScript compilers and micro-libraries.
Svelte, Rich’s creation, is a JavaScript compiler.
It lets you create reactive, state-based components, just like you would with Vue or React. But instead of shipping them as-is to the browser, you run a compiler than spits out plain old HTML and some vanilla JS that does the same kind of manual DOM manipulation you would do if you weren’t using a framework.
This gives you the best of both worlds, in a way. You can write state-based UI (if that’s your thing), but you can serve old-school DOM manipulation to the end-user for a faster experience.
Later in the article, I also mention Astro, another compiler that also lets you pull in components from your favorite client-side libraries.
This week, Jason Lengstorf from Netlify shared his experience working with Astro.
I just ported a Next.js site to @astrodotbuild, used 90% of the same component code, and ended up with HUGE improvements
Jason managed to reduce the amount of client-side JS by 90 percent, and increased page load time by 30 percent. Big wins all around, both in terms of resilience and performance.
These tools are looking more and more interesting.
⏰ Last chance to join the Vanilla JS Academy! A new session of the Vanilla JS Academy starts on Monday. Register today and save 25%. Click here to join.
This content originally appeared on Go Make Things and was authored by Go Make Things

Go Make Things | Sciencx (2021-09-29T14:30:00+00:00) JavaScript compilers are a huge web performance win. Retrieved from https://www.scien.cx/2021/09/29/javascript-compilers-are-a-huge-web-performance-win/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.