QwikDev / qwik

Instant-loading web apps, without effort
https://qwik.dev
MIT License
20.87k stars 1.31k forks source link

perf(serdes): vnode tree shaking #6963

Closed wmertens closed 1 week ago

wmertens commented 1 month ago

Only serialize vnodes that are being used. It's mostly working, tests need updating, but in e.g. the playground has some vnodes it can't find after SSR, so we are missing some ways vnodes are referenced. It's also serialing all vnode metadata for testing, which is way too much.

changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: c17f585fe2ee933c5c51af4c1f7105ccbdb65232

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

pkg-pr-new[bot] commented 1 week ago

Open in Stackblitz

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/core@6963
npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/router@6963
npm i https://pkg.pr.new/QwikDev/qwik/eslint-plugin-qwik@6963
npm i https://pkg.pr.new/QwikDev/qwik/create-qwik@6963

commit: c17f585

github-actions[bot] commented 1 week ago
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
qwik-docs ✅ Ready (View Log) Visit Preview c17f585fe2ee933c5c51af4c1f7105ccbdb65232