Qwik 2.0 RC Drops HTML Comments for Faster Rendering and Out-of-Order Streaming
The Qwik development team has released the version 2.0 release candidate, removing HTML comment markers in favor of script-based state storage to improve rendering performance and introduce experimental out-of-order streaming.
🤖AI ModelsPhoto: infoq.com
Key points
- Qwik 2.0 RC removes HTML comment markers to reduce overhead and improve rendering speed.
- State and virtual node information are now stored in dedicated script blocks at the end of the document.
- The update introduces experimental out-of-order HTML streaming and asynchronous computed values.
The core development team behind the open-source Qwik framework has published its 2.0 Release Candidate under the package name @qwik.dev/core@2.0.0-rc.0. Originally developed at Builder.io, the framework relies on resumability to defer loading component JavaScript until a user actually interacts with the page. This latest release candidate arrives nearly three years after initial design discussions began, bringing substantial architectural changes to how server-rendered states are encoded.
In the previous version, Qwik relied heavily on HTML comment markers scattered throughout the document to flag component boundaries and track updates. According to internal benchmarks, this approach created unnecessary memory and CPU overhead while blocking out-of-order streaming. The new release eliminates these comments entirely, consolidating state and virtual node details into structured script blocks at the end of the document. Additionally, the update introduces experimental out-of-order HTML streaming, allowing developers to isolate slow-loading regions so the rest of the page delivers immediately.
Internal runs of the js-framework-benchmark showed notable performance gains, with the version 2 release candidate posting a weighted geometric mean well ahead of the previous version and several competing frameworks. Initial testing also highlighted a sharp reduction in the JavaScript required before interactivity begins, falling significantly from the previous generation. Other additions in this release include asynchronous support for computed values, dedicated JSON endpoints for route loaders, and tools to embed Qwik components directly into React applications.
Upgrading to the release candidate involves minor breaking changes that can be handled automatically using the project's migration tooling. Developers interested in testing the new features can scaffold fresh projects using the updated command line interface or explore the new APIs through online examples and playgrounds.
What to watch next: Monitor community feedback and official adoption rates as developers test the stability of the 2.0 release candidate in production environments ahead of a final stable launch.
Source infoq.com — infoq.com/news/2026/11/quik-2-streaming/?utm_campaign=infoq_content… ↗
Read next
🧠AI AnalysisPedestal AI Secures Seed Funding to Automate Logistics With Intelligent Agents
Pedestal AI has launched publicly with $4.7 million in seed backing to deploy agentic artificial intelligence aimed at streamlining logistics and supply chain operations.
🏢Big TechUnited Launch Alliance Investigates Vulcan Rocket Failure
United Launch Alliance is investigating a mission failure of its Vulcan rocket, which suffered from low booster performance shortly after liftoff. The incident raises que…
🌐Work & SocietyUS Southwest Hydropower Output Hits Record Lows Amid Persistent Drought
Hydropower generation in the US Southwest dropped 28% below the 10-year average this summer as record-low water levels in the Colorado River Basin threaten regional energ…
🏢Big TechYouTube Updates View Metrics to Include TV Co-Viewing Estimates
YouTube is incorporating estimated co-viewing data into its public view counts to better reflect group consumption on television sets.
Apple Services Experience Widespread Outage
Apple users are reporting significant disruptions across iCloud, the App Store, and other core services, despite initial discrepancies in the company's status reporting.
⚖️Regulation & PolicyOpenAI Partners with Chilean Ministry to Advance Public Sector AI
OpenAI has signed a non-binding agreement with Chile's science ministry to integrate artificial intelligence into public administration and support local startups.