VOOZH about

URL: https://thenewstack.io/misko-hevery-on-why-qwik-will-improve-javascript-frameworks/

⇱ Misko Hevery on Why Qwik Will Improve JavaScript Frameworks - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2022-07-21 06:00:33
Misko Hevery on Why Qwik Will Improve JavaScript Frameworks
Frontend Development / Open Source / Software Development

Misko Hevery on Why Qwik Will Improve JavaScript Frameworks

Angular creator Misko Hevery says his new project answers a long-standing problem: Qwik is a JavaScript framework that promises instant apps.
Jul 21st, 2022 6:00am by Starr Campbell
👁 Featued image for: Misko Hevery on Why Qwik Will Improve JavaScript Frameworks

A new JavaScript technique or library seems to make its rounds in the developer community every week. The necessity of most of them is debatable, but Builder.io CTO Misko Hevery says his newest project answers a long-standing problem. Qwik is a DOM-centric JavaScript framework built to make “instant applications” possible, by focusing on “resumability of server-side-rendering of HTML and fine-grained lazy-loading of code.”

Hevery is best known for being the creator of Angular, the influential JavaScript framework that was released by Google in 2010 (then known as AngularJS). So if you’re making a list of people who could fix the state of JavaScript frameworks, Hevery would be high on that list.

He initially spoke out about resumable applications at the 2019 Angular Ng-Conf. During that presentation, he gave two rules for what a framework should do to create applications that start instantly: only download and execute code that is strictly necessary to handle the user interaction, and don’t duplicate work that the server has already done.

It was from these ideals that Qwik was created. “Frameworks set the rules of the game, and developers have to follow them,” Hevery said in an interview with The New Stack. “Because current framework rules are hydration to make the site interactive, all complex sites are slow to start up. To get out of this trap, you need a framework with resumability rather than hydration.

The Benefits of Server-Side Rendering

In January 2021 Qwik began development, starting as a project where Hevery was “mostly toying with how far I could push the idea of delaying the execution of code on the client.” He says the original syntax didn’t have the tooling and therefore left a lot to be desired. Still, learning on the job provided to be fruitful.

“When I joined Builder.io in June 2022,” he said, “it became a full-time effort, and I was joined by Adam Bradly and Manu Martinez-Almeida to work on it full-time. Turns out that between the three of us, we have a lot of experience building frameworks, so we had a clear idea of what we wanted Qwik to be.”

To give a better understanding of Qwik’s appeal, Hevery describes how it stands up against other frameworks. “Current frameworks only care about client rendering. SSR [server-side rendering] is really an afterthought. As a result, client hydration is the only way to make an application work, and hydration is expensive and results in slow application startups.”

He continued, “By taking on the whole problem end-to-end, SSR is not an afterthought but a central goal of Qwik. The result is a vastly better start-up performance of the website. Qwik can deliver most sites with zero JavaScript and then download only the code that is needed to process a specific user interaction.”

For example, when you navigate to a product page on Amazon you will encounter numerous pieces of the site. The shopping cart, ratings, product details, menu, etc. all have to be loaded. But, as Hevery notes, “as a user, you don’t need all of those parts at once.”

“It would be expensive to delay the first interaction until all of the code is downloaded and executed, yet that is what hydration does,” he continued. “Instead, Qwik sends pure HTML — and a tiny polyfill of about 1kb — to the client. If the user clicks add to cart, only the code to add the item to the cart and update the cart component is downloaded and executed. This makes the amount of JavaScript on the browser light, no matter the complexity of the overall application.”

Refined Lazy Loading

Qwik boasts “fine-grained’ lazy loading, which refers to the way Qwik breaks applications into smaller pieces and grants servers the freedom to decide what large bits of code should be sent to the client and when.

“With current frameworks, lazy-loading falls as the responsibility of the developer,” said Hevery. “In Qwik, the lazy-loading falls on the framework. Each callback (effect, listener, render function) is lazily loadable. This fine-grained nature, with the ability to render components independently, gives Qwik the power to not download code if the code is not strictly needed.”

Hevery went on to explain that the closest technology to Qwik is in fact a staple for Google (where he worked from 2005-2021). “Internally, Google has a framework called Wiz that powers Google Search, Photos and Gmail, among others. Wiz has instant-on properties for the application and, depending on how you look at it, you may say it is resumable. Strictly speaking, there is no server execution of JavaScript that is paused in Wiz, so there is no ‘resuming’ going on, but the effect is the same. Wiz has an open source portion called jsaction that, as far as I can tell, has pioneered the idea of serializing listeners into HTML. Qwik’s listener serialization is very similar to that of jsaction.”

Hevery said that Qwik is vastly different from Wiz at its core and in its implementation and syntax, but the goal is the same — applications that start instantly.

What’s Next for Qwik?

Qwik is currently available on Builder.io’s GitHub. Hevery adds that the project is getting close to general availability. “We are pretty confident in Qwik, but want to have a complete solution before declaring it so. For this reason, we are also working on Qwik City, a meta-framework for Qwik that allows us to build websites with file-based routing. Additionally, we are working on Qwikify React, which allows migration from Qwik sites and allows Qwik to use React ecosystem libraries, such as Material Components.”

Hevery says Qwik gives developers a new approach to building web apps. “Fine-grained lazy-loading and resumability results in instant-on applications and SEO solutions from the start,” he promised.

TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Wiz.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.