Skip to content

Commit 7473775

Browse files
committed
docs: add warning to pre-rendering section about deleting clientLoader
1 parent 5d96537 commit 7473775

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/tutorials/address-book.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,12 @@ export default {
813813

814814
Now if you go to the [about page][about-page] and refresh, you won't see the loading spinner!
815815

816+
<docs-warning>
817+
818+
If you're still seeing a spinner when you refresh, make sure you deleted the `clientLoader` in `root.tsx`.
819+
820+
</docs-warning>
821+
816822
## Server-Side Rendering
817823

818824
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.

0 commit comments

Comments
 (0)