fix(custom-element): ensure configureApp is applied to async component#12607
fix(custom-element): ensure configureApp is applied to async component#12607edison1105 merged 4 commits intomainfrom
Conversation
Size ReportBundles
Usages
|
@vue/compiler-core
@vue/compiler-dom
@vue/compiler-sfc
@vue/compiler-ssr
@vue/reactivity
@vue/runtime-core
@vue/runtime-dom
@vue/server-renderer
@vue/shared
vue
@vue/compat
commit: |
|
📝 Ran ecosystem CI: Open
|
Co-authored-by: skirtle <[email protected]>
WalkthroughThe changes update the handling of async components in custom elements to ensure the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant CustomElement
participant AsyncComponentLoader
participant LoadedComponent
User->>CustomElement: Define custom element with async component and configureApp
CustomElement->>AsyncComponentLoader: Load async component
AsyncComponentLoader-->>CustomElement: Return LoadedComponent
CustomElement->>LoadedComponent: Copy configureApp to LoadedComponent
CustomElement->>LoadedComponent: Mount component (configureApp executed)
Assessment against linked issues
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🔇 Additional comments (2)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
close #12448
Summary by CodeRabbit
Bug Fixes
configureAppoption.Tests
configureAppas expected.