This isn’t your run-of-the-mill framework. It introduces a brand-new rendering paradigm dubbed ‘Resumability’ that fully removes the requirement for hydration, a way virtually each meta-framework makes use of to make server-rendered web sites absolutely interactive and comprehensible.
Earlier than we delve deeper into the product, let’s speak in regards to the group.
Thoughts over matter
Astro framework recognised this downside and makes use of a way known as ‘partial hydration’ to selectively hydrate the dom.
Resumability to the rescue
However how is that even attainable?
The Qwik loader, which takes the static HTML generated from server-side-rendering and resumes it, is lower than 1kb and can execute in underneath 1ms. The quantity of code that builders must execute is amazingly small, and it executes in lower than a blink of a watch. The perfect half is that this code will keep fixed irrespective of how huge the appliance turns into.
‘Lazy loading’, which is a elementary part of the framework, is the second component that makes this attainable. It implies that as you interact with the web site within the smallest attainable bits, all different interactive parts are slowly downloaded.
The search to discover a good JS framework—which solves the characteristic and pace subject in a web site—has been happening for years. Each month, there’s an announcement of a brand new framework. It is going to be fascinating to witness whether or not Qwik emerges because the JS framework that lastly solves this downside for builders.