Qwik 2.0 RC: Replaces HTML Comment Markers for Faster Reactivity and Out-of-Order Streaming
Qwik 2.0 Release Candidate, published on 1 October 2026, replaces v1's HTML comment markers with two script blocks that hold state and virtual node data. It adds experimental out-of-order streaming, async useComputed$, and cacheable route loaders. Qwik's benchmarks show v2 at 1.23x vanilla JavaScript, versus 2.59x for v1. A migration command is provided. By Daniel Curtis
Qwik 2.0 Release Candidate introduces a new approach to resumable state encoding in server-rendered HTML and experimental out-of-order streaming. The previous version used HTML comment markers to flag component boundaries and signal update nodes, causing a single ordered write pass and potential bottlenecks. In v2, these comments have been removed, with state and virtual node information instead compressed into two script blocks at the end of the document.
Benchmarks show that v2 is about 1.23 times slower than vanilla JavaScript, outperforming Vue 3.5, Angular 22, and React 19. Out-of-order HTML streaming is also available in experimental mode, allowing developers to wrap slow regions in Pending and Catch boundaries. The RC was released on October 1st, 2026, around two years and eight months after the initial design article.
Other new features include worker$, reactify$, server-only *.server.ts files, and HMR that preserves signal and store values across edits.
Written by urgent.news from InfoQ's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.