· javascript
Qwik 2.0 RC: Replaces HTML Comment Markers for Faster Reactivity and Out-of-Order Streaming
The RC was published on 1st October 2026 as @qwik.dev/core@2.0.0-rc.0, around two years and eight months after the initial Towards Qwik 2.0 design article.
In v1, Qwik propagated state updates by sprinkling HTML comment markers such as and throughout the rendered body to flag component boundaries and the text nodes a signal should update. That approach forced a single ordered write pass, added CPU and memory overhead, and made out-of-order streaming impossible because a slow fetch blocked everything after it. In v2 the comments are gone, with state and virtual node information instead compressed into two and blocks at the end of the document.
On Qwik's internal runs of js-framework-benchmark, v2 posts a weighted geometric mean of 1.23 times slower than vanilla JavaScript, ahead of Vue 3.5 at 1.25x, Angular 22 at 1.42x, React 19 with the compiler at 1.53x, and v1 itself at 2.59x. A detailed classmethod walkthrough that built the same starter against both versions reported server-rendered HTML went from 60 comments to zero, with JavaScript required before interactivity dropping from 59KB to 9KB, though total bundle size grew. Out-of-order HTML streaming has also been added n experimental mode.


