Skip to content

Commit 3b3a9a1

Browse files
authored
fix: add display name for suspense component (#3312)
1 parent 0600eb4 commit 3b3a9a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/runtime-core/src/components/Suspense.ts

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export const isSuspense = (type: any): boolean => type.__isSuspense
3333
// in the compiler, but internally it's a special built-in type that hooks
3434
// directly into the renderer.
3535
export const SuspenseImpl = {
36+
name: 'Suspense',
3637
// In order to make Suspense tree-shakable, we need to avoid importing it
3738
// directly in the renderer. The renderer checks for the __isSuspense flag
3839
// on a vnode's type and calls the `process` method, passing in renderer

0 commit comments

Comments
 (0)