From bcbf5022e3faed2c5e01dc2c92fbde569600f7d7 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Mon, 7 Jul 2025 13:23:02 +0200 Subject: [PATCH] Suspense: timeout is in milliseconds --- src/guide/built-ins/suspense.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/built-ins/suspense.md b/src/guide/built-ins/suspense.md index ea8bdcdd4d..1478e495f9 100644 --- a/src/guide/built-ins/suspense.md +++ b/src/guide/built-ins/suspense.md @@ -91,7 +91,7 @@ If no async dependencies were encountered during the initial render, ` Once in a resolved state, `` will only revert to a pending state if the root node of the `#default` slot is replaced. New async dependencies nested deeper in the tree will **not** cause the `` to revert to a pending state. -When a revert happens, fallback content will not be immediately displayed. Instead, `` will display the previous `#default` content while waiting for the new content and its async dependencies to be resolved. This behavior can be configured with the `timeout` prop: `` will switch to fallback content if it takes longer than `timeout` to render the new default content. A `timeout` value of `0` will cause the fallback content to be displayed immediately when default content is replaced. +When a revert happens, fallback content will not be immediately displayed. Instead, `` will display the previous `#default` content while waiting for the new content and its async dependencies to be resolved. This behavior can be configured with the `timeout` prop: `` will switch to fallback content if it takes longer than `timeout` milliseconds to render the new default content. A `timeout` value of `0` will cause the fallback content to be displayed immediately when default content is replaced. ## Events {#events}