From 595520296c4ad571bb4b3b391bd0c634ad857d6f Mon Sep 17 00:00:00 2001 From: "Federico Pasqua (eisterman)" Date: Tue, 1 Apr 2025 11:41:33 +0200 Subject: [PATCH] Complete "Hydrate Fallback". Note: I checked in React DevTool that the Suspend and the fallback is present, but the skeleton of the page is already rendered into the server so that Suspend is impossible to trigger! You can see it as it is during long load, o I will probably remove it in the next commit. --- src/app/loading.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/app/loading.tsx diff --git a/src/app/loading.tsx b/src/app/loading.tsx new file mode 100644 index 0000000..c843076 --- /dev/null +++ b/src/app/loading.tsx @@ -0,0 +1,8 @@ +export default function Loading() { + return ( +
+
+

Loading, please wait...

+
+ ); +} \ No newline at end of file