Skip to content

feat(vapor): vapor keepalive#13186

Merged
edison1105 merged 32 commits intominorfrom
edison/feat/vaporKeepAlive
Oct 20, 2025
Merged

feat(vapor): vapor keepalive#13186
edison1105 merged 32 commits intominorfrom
edison/feat/vaporKeepAlive

Conversation

@edison1105
Copy link
Copy Markdown
Member

@edison1105 edison1105 commented Apr 10, 2025

Compiler Changes

  • In Vapor component, KeepAlive is compiled into VaporKeepAlive.

Runtime Changes

  • Introduced the VaporKeepAlive component:
    • For VaporComponent, it caches the component instance.
    • For VDOM components, it caches the Fragment.
  • The VDOM KeepAlive component now supports rendering Vapor components.

Tests

  • Ported all existing VDOM KeepAlive test cases.
  • Added E2E tests verifying that VaporKeepAlive supports rendering VDOM components.
  • Modified vdomInterop tests to include test cases for VDOM KeepAlive rendering Vapor components.

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 10, 2025

Deploy Preview for vapor-repl ready!

Name Link
🔨 Latest commit a6a886a
🔍 Latest deploy log https://app.netlify.com/projects/vapor-repl/deploys/6854d0b5b6bd6200081c42d0
😎 Deploy Preview https://deploy-preview-13186--vapor-repl.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 10, 2025

Open in StackBlitz

@vue/compiler-core

npm i https://pkg.pr.new/@vue/compiler-core@13186

@vue/compiler-dom

npm i https://pkg.pr.new/@vue/compiler-dom@13186

@vue/compiler-sfc

npm i https://pkg.pr.new/@vue/compiler-sfc@13186

@vue/compiler-ssr

npm i https://pkg.pr.new/@vue/compiler-ssr@13186

@vue/compiler-vapor

npm i https://pkg.pr.new/@vue/compiler-vapor@13186

@vue/reactivity

npm i https://pkg.pr.new/@vue/reactivity@13186

@vue/runtime-core

npm i https://pkg.pr.new/@vue/runtime-core@13186

@vue/runtime-dom

npm i https://pkg.pr.new/@vue/runtime-dom@13186

@vue/runtime-vapor

npm i https://pkg.pr.new/@vue/runtime-vapor@13186

@vue/server-renderer

npm i https://pkg.pr.new/@vue/server-renderer@13186

@vue/shared

npm i https://pkg.pr.new/@vue/shared@13186

vue

npm i https://pkg.pr.new/vue@13186

@vue/compat

npm i https://pkg.pr.new/@vue/compat@13186

commit: 7a24651

@edison1105 edison1105 force-pushed the edison/feat/vaporKeepAlive branch from c7152bf to e012bc5 Compare April 10, 2025 07:30
@edison1105 edison1105 added the scope: vapor related to vapor mode label Apr 10, 2025
@edison1105 edison1105 force-pushed the edison/feat/vaporKeepAlive branch from 0a7d56d to a5a9f26 Compare April 14, 2025 07:51
@edison1105 edison1105 force-pushed the edison/feat/vaporKeepAlive branch from a5a9f26 to 6efc7ec Compare April 14, 2025 08:16
@edison1105 edison1105 force-pushed the edison/feat/vaporKeepAlive branch from 67498b5 to 252f647 Compare April 15, 2025 05:53
@edison1105 edison1105 marked this pull request as ready for review April 18, 2025 02:11
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Jun 20, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch edison/feat/vaporKeepAlive

Comment @coderabbitai help to get the list of available commands and usage tips.

Base automatically changed from vapor to minor July 7, 2025 00:06
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jul 16, 2025

Size Report

Bundles

File Size Gzip Brotli
compiler-dom.global.prod.js 84.5 kB 30 kB 26.4 kB
runtime-dom.global.prod.js 105 kB (+299 B) 39.4 kB (+97 B) 35.5 kB (+95 B)
vue.global.prod.js 163 kB (+299 B) 59.5 kB (+99 B) 53 kB (+85 B)

Usages

Name Size Gzip Brotli
createApp (CAPI only) 47.4 kB (+108 B) 18.5 kB (+24 B) 16.9 kB (+26 B)
createApp 56.2 kB (+85 B) 21.7 kB (+22 B) 19.8 kB (+13 B)
createApp + vaporInteropPlugin 79 kB (+1.3 kB) 29.5 kB (+392 B) 26.8 kB (+319 B)
createVaporApp 30.9 kB (+366 B) 11.9 kB (+126 B) 10.8 kB (+115 B)
createSSRApp 60.5 kB (+85 B) 23.4 kB (+16 B) 21.4 kB (+8 B)
defineCustomElement 61.2 kB (+85 B) 23.2 kB (+22 B) 21.2 kB (+8 B)
overall 71.1 kB (+299 B) 27 kB (+96 B) 24.6 kB (+62 B)

@LittleSound LittleSound mentioned this pull request Jul 22, 2025
22 tasks
@edison1105 edison1105 merged commit 35475c0 into minor Oct 20, 2025
17 checks passed
@edison1105 edison1105 deleted the edison/feat/vaporKeepAlive branch October 20, 2025 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: vapor related to vapor mode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant