From 74737750ca0abab137859d445e1a66eb59a56ba2 Mon Sep 17 00:00:00 2001 From: Brooks Lybrand Date: Thu, 12 Dec 2024 10:44:23 -0600 Subject: [PATCH] docs: add warning to pre-rendering section about deleting clientLoader --- docs/tutorials/address-book.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/tutorials/address-book.md b/docs/tutorials/address-book.md index 1d66a43354..e3291fdcdc 100644 --- a/docs/tutorials/address-book.md +++ b/docs/tutorials/address-book.md @@ -813,6 +813,12 @@ export default { Now if you go to the [about page][about-page] and refresh, you won't see the loading spinner! + + +If you're still seeing a spinner when you refresh, make sure you deleted the `clientLoader` in `root.tsx`. + + + ## Server-Side Rendering React Router is a great framework for building [Single Page Apps][spa]. Many applications are served well by only client-side rendering, and _maybe_ statically pre-rendering a few pages at build time.