Skip to content

v1.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 09 May 23:08
· 1865 commits to main since this release
6dd1b47

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