Skip to content

Commit c526c8e

Browse files
rootcursoragent
authored andcommitted
docs: Isolate ACID validate raw pane suspense
Keep the navigator and Data Client pane mounted when switching payloads instead of suspending the whole playground. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent e7d08b2 commit c526c8e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

docs/core/shared/_acidValidate.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,14 @@ function ArticleBody({ id }: { id: string }) {
102102
}
103103

104104
export function RawArticlePage({ id }: { id: string }) {
105+
return (
106+
<AsyncBoundary fallback={<Loading />}>
107+
<RawArticleBody id={id} />
108+
</AsyncBoundary>
109+
);
110+
}
111+
112+
function RawArticleBody({ id }: { id: string }) {
105113
const article = useSuspense(getRawArticle, { id });
106114
return (
107115
<div>

0 commit comments

Comments
 (0)