refactor(element-plus): remove el-teleport#23219
Conversation
|
Related: #23053 (comment) |
commit: |
|
🧪 Playground Preview: https://element-plus.run/?pr=23219 |
rzzf
left a comment
There was a problem hiding this comment.
Thanks for your investigation. look good to me.
"peerDependencies": {
"vue": "^3.3.0"
},We now require a minimum Vue version of 3.3.0, and we also need to modify the peerDependencies versions accordingly. Furthermore, after this PR, the ElTeleport seems unnecessary, perhaps this component can be directly deleted. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
✅ Files skipped from review due to trivial changes (3)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughReplaces internal Element Plus Teleport usage with Vue's native across multiple components, removes the Teleport component and its public exports/tests/types, updates several Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |

Perhaps Vue has fixed the Teleport hydration issues by now. Just try removing the v-if and let the Teleport render unconditionally.
Related PR:
Summary by CodeRabbit
Refactor
Dependencies