Posts

Showing posts with the label Qwik

Qwik Explained: Instant Apps Through Resumability

Introduction Modern frameworks ship JavaScript, then spend time on page load "hydrating": re-running components in the browser to make server-rendered HTML interactive. That hydration cost is why many sites feel slow to become responsive even when they look loaded. Qwik, released in 2022, attacks the problem at its root with resumability: the server renders HTML and serialises the app's state, and the browser resumes where the server left off — without re-running component code or downloading the framework upfront. The result is near-instant interactivity, even for large apps. Resumability, lazy loading, and dollar-sign syntax Qwik's ideas build on each other: Resumability, not hydration — server-rendered HTML carries serialised state and tiny event listeners; the browser does not re-execute components to attach interactivity, it resumes them. Lazy loading by default — event handlers and component code download only when needed: clicking a button fetches that bu...