Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(vapor): vapor teleport #13082

Open
wants to merge 29 commits into
base: vapor
Choose a base branch
from
Open

feat(vapor): vapor teleport #13082

wants to merge 29 commits into from

Conversation

edison1105
Copy link
Member

@edison1105 edison1105 commented Mar 21, 2025

Compiler Changes

  • In Vapor mode, automatically compile Teleport to VaporTeleport

Runtime Changes

  • Added VaporTeleport component with HMR support
  • Hydration is not yet supported
  • Extracted VaporFragment and DynamicFragment into separate files to avoid circular dependencies

Tests

  • Ported all test cases from packages/runtime-core/__tests__/components/Teleport.spec.ts
  • Added additional test cases for HMR functionality
  • In vapor-e2e-test:
    • Added test cases for VDOM Teleport rendering Vapor components
    • Added test cases for Vapor Teleport rendering VDOM components

Copy link

netlify bot commented Mar 21, 2025

Deploy Preview for vapor-repl ready!

Name Link
🔨 Latest commit 1033d2b
🔍 Latest deploy log https://app.netlify.com/sites/vapor-repl/deploys/67ed012cb99c7f00088c0a71
😎 Deploy Preview https://deploy-preview-13082--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 site configuration.

Copy link

pkg-pr-new bot commented Mar 21, 2025

Open in StackBlitz

@vue/compiler-core

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

@vue/compiler-dom

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

@vue/compiler-ssr

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

@vue/compiler-sfc

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

@vue/compiler-vapor

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

@vue/reactivity

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

@vue/runtime-core

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

@vue/runtime-dom

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

@vue/runtime-vapor

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

@vue/server-renderer

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

@vue/shared

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

vue

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

@vue/compat

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

commit: 1033d2b

@edison1105 edison1105 force-pushed the edison/feat/vaporTeleport branch from eb589c0 to b945079 Compare March 21, 2025 08:51
@edison1105 edison1105 force-pushed the edison/feat/vaporTeleport branch from 7d89e9d to 5c8f7ed Compare March 21, 2025 13:54
@edison1105 edison1105 changed the title feat(vapor): VaporTeleport feat(vapor): vapor teleport Mar 21, 2025
@edison1105 edison1105 force-pushed the edison/feat/vaporTeleport branch from d073b4f to 5b933f5 Compare March 26, 2025 14:14
@edison1105 edison1105 marked this pull request as ready for review March 27, 2025 07:50
@edison1105 edison1105 added the scope: vapor related to vapor mode label Apr 3, 2025
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