Change8

@qwik.dev/core@2.0.0-beta.27

📦 qwikView on GitHub →
3 features🔧 2 symbols

Summary

This release introduces significant performance improvements in the optimizer by hoisting QRLs and extracting captures. It also adds support for self-references within reactive primitives.

✨ New Features

  • The optimizer now hoists QRLs without captures to the module scope, resulting in only one instance of the QRL being created.
  • The optimizer extracts captures from QRL event handlers and moves them to their string tag, enabling QRLs to be moved to the module scope for improved performance.
  • The optimizer now supports self-references, allowing constructs like an AsyncSignal to write to itself.

Affected Symbols