Skip to content

fix(runtime-core): restore the default 200ms delay of async loading components - #15950

Merged
edison1105 merged 1 commit into
vuejs:minorfrom
ValentinYoushkevich:fix/async-component-default-delay
Oct 20, 2026
Merged

edison1105 merged 1 commit into
vuejs:minorfrom
ValentinYoushkevich:fix/async-component-default-delay

Conversation

@ValentinYoushkevich

Copy link
Copy Markdown
Contributor

On minor, an async component's loadingComponent is shown immediately instead of after the documented default 200ms delay (docs). This affects both defineAsyncComponent and defineVaporAsyncComponent and is a regression from 3.5, where the same code waits 200ms (rc.12 playground).

The default was lost when the async state moved into the shared useAsyncComponentState helper (#13059), so an omitted delay now means no delay. This restores it in the helper; the interop test that relied on the immediate loading state now passes delay: 0 explicitly.

@coderabbitai

coderabbitai Bot commented Oct 20, 2026

Copy link
Copy Markdown

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.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8c226da1-7044-4f52-a9b1-6f3c438bc95a

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

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

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

@pkg-pr-new

pkg-pr-new Bot commented Oct 20, 2026

Copy link
Copy Markdown

Open in StackBlitz

@vue/compiler-core

pnpm add https://pkg.pr.new/@vue/compiler-core@15950
npm i https://pkg.pr.new/@vue/compiler-core@15950
yarn add https://pkg.pr.new/@vue/compiler-core@15950.tgz

@vue/compiler-dom

pnpm add https://pkg.pr.new/@vue/compiler-dom@15950
npm i https://pkg.pr.new/@vue/compiler-dom@15950
yarn add https://pkg.pr.new/@vue/compiler-dom@15950.tgz

@vue/compiler-sfc

pnpm add https://pkg.pr.new/@vue/compiler-sfc@15950
npm i https://pkg.pr.new/@vue/compiler-sfc@15950
yarn add https://pkg.pr.new/@vue/compiler-sfc@15950.tgz

@vue/compiler-ssr

pnpm add https://pkg.pr.new/@vue/compiler-ssr@15950
npm i https://pkg.pr.new/@vue/compiler-ssr@15950
yarn add https://pkg.pr.new/@vue/compiler-ssr@15950.tgz

@vue/compiler-vapor

pnpm add https://pkg.pr.new/@vue/compiler-vapor@15950
npm i https://pkg.pr.new/@vue/compiler-vapor@15950
yarn add https://pkg.pr.new/@vue/compiler-vapor@15950.tgz

@vue/reactivity

pnpm add https://pkg.pr.new/@vue/reactivity@15950
npm i https://pkg.pr.new/@vue/reactivity@15950
yarn add https://pkg.pr.new/@vue/reactivity@15950.tgz

@vue/runtime-core

pnpm add https://pkg.pr.new/@vue/runtime-core@15950
npm i https://pkg.pr.new/@vue/runtime-core@15950
yarn add https://pkg.pr.new/@vue/runtime-core@15950.tgz

@vue/runtime-dom

pnpm add https://pkg.pr.new/@vue/runtime-dom@15950
npm i https://pkg.pr.new/@vue/runtime-dom@15950
yarn add https://pkg.pr.new/@vue/runtime-dom@15950.tgz

@vue/runtime-vapor

pnpm add https://pkg.pr.new/@vue/runtime-vapor@15950
npm i https://pkg.pr.new/@vue/runtime-vapor@15950
yarn add https://pkg.pr.new/@vue/runtime-vapor@15950.tgz

@vue/server-renderer

pnpm add https://pkg.pr.new/@vue/server-renderer@15950
npm i https://pkg.pr.new/@vue/server-renderer@15950
yarn add https://pkg.pr.new/@vue/server-renderer@15950.tgz

@vue/shared

pnpm add https://pkg.pr.new/@vue/shared@15950
npm i https://pkg.pr.new/@vue/shared@15950
yarn add https://pkg.pr.new/@vue/shared@15950.tgz

vue

pnpm add https://pkg.pr.new/vue@15950
npm i https://pkg.pr.new/vue@15950
yarn add https://pkg.pr.new/vue@15950.tgz

@vue/compat

pnpm add https://pkg.pr.new/@vue/compat@15950
npm i https://pkg.pr.new/@vue/compat@15950
yarn add https://pkg.pr.new/@vue/compat@15950.tgz

commit: ff9755c

@github-actions

Copy link
Copy Markdown

Size Report

Bundles

File Size Gzip Brotli
compiler-dom.global.prod.js 87.4 kB 30.7 kB 27 kB
runtime-dom.global.prod.js 119 kB (+4 B) 44.8 kB (+4 B) 40.1 kB (+22 B)
vue.global.prod.js 180 kB (+4 B) 65.1 kB (+5 B) 58 kB (+19 B)

Usages

Name Size Gzip Brotli
createApp (CAPI only) 54.6 kB 21.2 kB 19.4 kB
createApp 63.5 kB 24.5 kB 22.2 kB
createApp + vaporInteropPlugin 139 kB 50.2 kB 45 kB
createVaporApp 34.2 kB 13.2 kB 12.2 kB
createSSRApp 68.6 kB 26.5 kB 24.1 kB
createVaporSSRApp 41.1 kB 15.7 kB 14.4 kB
defineCustomElement 70.1 kB 26.5 kB 24.1 kB
defineVaporCustomElement 49.1 kB 18 kB 16.6 kB
overall 79.1 kB 30 kB 27.2 kB

@edison1105 edison1105 added the scope: vapor related to vapor mode label Oct 20, 2026
@edison1105
edison1105 merged commit 0096402 into vuejs:minor Oct 20, 2026
15 checks passed
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.

2 participants