Skip to content

Commit 85e7537

Browse files
authored
docs(how-to/spa): remove duplicated text (#13975)
1 parent b31f1e1 commit 85e7537

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

contributors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@
131131
- haivuw
132132
- hampelm
133133
- harshmangalam
134+
- HelpMe-Pls
134135
- HenriqueLimas
135136
- hernanif1
136137
- HK-SHAO

docs/how-to/spa.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ Typical Single Page apps send a mostly blank `index.html` template with little m
2020
- Use React components to generate the initial page users see (root `HydrateFallback`)
2121
- Re-enable server rendering later without changing anything about your UI
2222

23-
It's important to note that setting `ssr:false` only disables _runtime server rendering_. React Router will still server render your root route at _build time_ to generate the `index.html` file. This is why your project still needs a dependency on `@react-router/node` and your routes need to be SSR-safe. That means you can't call `window` or other browser-only APIs during the initial render, even when server rendering is disabled.
24-
2523
<docs-info>SPA Mode is a special form of "Pre-Rendering" that allows you to serve all paths in your application from the same HTML file. Please refer to the [Pre-Rendering](./pre-rendering) guide if you want to do more extensive pre-rendering.</docs-info>
2624

2725
## 1. Disable Runtime Server Rendering

0 commit comments

Comments
 (0)