From 9c3d9c583ee461c8d4928d6572e6927b0c9b026b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9F=93=E9=99=8C=E5=90=8C=E5=AD=A6?= Date: Fri, 30 Aug 2024 10:23:38 +0800 Subject: [PATCH 01/10] feat: support suspence event (#6975) * feat: support suspence event * feat: support suspense script id --- .changeset/seven-mails-tickle.md | 5 +++++ examples/with-suspense-ssr/src/document.tsx | 1 + packages/runtime/src/Suspense.tsx | 3 ++- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .changeset/seven-mails-tickle.md diff --git a/.changeset/seven-mails-tickle.md b/.changeset/seven-mails-tickle.md new file mode 100644 index 0000000000..641088629f --- /dev/null +++ b/.changeset/seven-mails-tickle.md @@ -0,0 +1,5 @@ +--- +'@ice/runtime': patch +--- + +feat: support suspense event diff --git a/examples/with-suspense-ssr/src/document.tsx b/examples/with-suspense-ssr/src/document.tsx index 195d21a7f1..313c827d5c 100644 --- a/examples/with-suspense-ssr/src/document.tsx +++ b/examples/with-suspense-ssr/src/document.tsx @@ -13,6 +13,7 @@ function Document() {
+