github QwikDev/qwik v1.1.0

latest releases: @builder.io/qwik-city@1.9.1, @builder.io/qwik@1.9.1, eslint-plugin-qwik@1.9.1...
18 months ago

Main Changes

PropFunction is not longer neccesary

We simplified how you create custom events in your components. Now wou can pass custom callbacks to components without using PropFunction type.

interface CmpProps {
  onClick$?: () => void;
}

export const Cmp = component$<CmpProps>((props) => {
  return (
    <div>
      <h1>CHILD</h1>
    </div>
  )
});

Improved serialization dynamic tree shaking

Qwik becomes even smarter at knowing what NOT to serialize, leading to smaller HTML and faster SSR!

Zero-JS for all qwik-city apps

By default, if not interactive, all QwikCity app will include zero JS, out of the box!

New jsx-img eslint rule

Missing width and height in img is a common source of performance footgun, since they browser will have to relayout the page when the image loads the the intrinsec size is known. This new eslint rule will let you know when you are missing it!

Experiments: qwik-worker

Early days! but we are working on some cool things using the $ power!

New empty starter

We heard you! the current basic starter is not that basic! we got a new starter with absolutely the bare minimum but ready to build apps at scale with QwikCity

Server-Timing API early support

Now it should be much easier to debug during development, where the server is spending most of the time! Server-Timing API allows the server to expose timing information that becomes visible in the DevTools!

https://ma.ttias.be/server-timings-chrome-devtools/

What's Changed

New Contributors

Full Changelog: v1.0.0...v1.1.0

Don't miss a new qwik release

NewReleases is sending notifications on new releases.