-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Closed as not planned
Closed as not planned
Copy link
Labels
Description
Vue version
3.2.45
Link to minimal reproduction
Steps to reproduce
Wrap a Suspense tag around a component with a top-level await.
What is expected?
The Suspense will render the #fallback element, and render the #default element once its Promise is resolved.
What is actually happening?
Neither the parent nor the child component are rendered. I receive an error
withAsyncContext called without active current instance. This is likely a bug.
System Info
System:
OS: Windows 10 10.0.22621
CPU: (8) x64 Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
Memory: 5.37 GB / 15.71 GB
Binaries:
Node: 18.7.0 - C:\Program Files\nodejs\node.EXE
Yarn: 3.3.0 - C:\Program Files\nodejs\yarn.CMD
npm: 8.19.1 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Spartan (44.22621.819.0), Chromium (108.0.1462.54)
Internet Explorer: 11.0.22621.1
npmPackages:
vue: ^3.2.45 => 3.2.45Any additional comments?
{
"vue": "^3.2.45",
"typescript": "^4.9.3",
"vite": "^4.0.0",
"vue-router": "^4.1.6",
"vue-tsc": "^1.0.11"
}