Interface: SuspenseProps
Estimated reading time: less than 1 minuteThe props for the Suspense component.
See
Properties
catch?
This error boundary is used to catch any error thrown by an async component and streams its fallback instead.
Undefined behaviors happens on each browser kind when the html stream is unexpected closed by the server if an error is thrown. You should always define an error boundary to catch errors.
This does not catches for errors thrown by the suspense itself or async fallback components. Please use ErrorBoundary to catch them instead.
children
The async children to render as soon as they are ready.
fallback
The fallback to render while the async children are loading.
rid
The request id is used to identify the request for this suspense.