github QwikDev/qwik @qwik.dev/optimizer@3.0.0-rc.12

latest releases: eslint-plugin-qwik@2.0.0-rc.6, @qwik.dev/mcp@2.0.0-rc.6, @qwik.dev/react@2.0.0-rc.6...
pre-releaseone hour ago

Major Changes

  • ✨ remove the component and hook entry strategies; use smart and segment instead (by @maiieul in #9480)

Patch Changes

  • 🐞🩹 member reads keep their values across writes in optimized code (by @Varixo in #9604)

  • 🐞🩹 the optimizer created a module's qrls before the statements above them had run (by @wmertens in #9549)

  • fix indexed reads being moved past mutations by the rust optimizer (by @azizu06 in #9576)

  • 🐞🩹 the optimizer now emits _jsxSplit for dynamic JSX tags with on*$ props (including shorthand { onClick$ }, lowercase onclick$ and computed keys), so event listeners are registered when the tag is a string at runtime. passive:* directives on such tags are kept too. A computed string event key like ['onClick$'] in jsx() props is now handled like onClick$. (by @fixfon in #9356)

  • 🐞🩹 running a task or computed no longer loads its component's render code (by @maiieul in #9477)

  • 🐞🩹 useStyles$ styles could come out empty in production builds (by @wmertens in #9523)

Don't miss a new qwik release

NewReleases is sending notifications on new releases.