Skip to content

Commit abf7c15

Browse files
authored
Remove NOTE (#34044)
1 parent 7269ad0 commit abf7c15

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

aspnetcore/blazor/components/render-modes.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -391,16 +391,7 @@ In the following example, the render mode is set interactive SSR by adding `@ren
391391
}
392392
```
393393

394-
If using the preceding component in a Blazor Web App, place the component in the server project's `Components/Pages` folder†. The server project is the solution's project with a name that doesn't end in `.Client`. When the app is running, navigate to `/render-mode-2` in the browser's address bar.
395-
396-
> [!IMPORTANT]
397-
> †If the app adopts global WebAssembly or global Auto rendering via the `Routes` component, individual components that specify interactive SSR (`@rendermode InteractiveServer`) in their component definition file (`.razor`) are *placed in the `.Client` project's `Pages` folder*.
398-
>
399-
> Placing interactive SSR components in the `.Client` project is counter-intuitive because such components are only rendered on the server.
400-
>
401-
> If you place an interactive SSR component in the server project's `Components/Pages` folder of a global WebAssembly or Auto app, the component is prerendered normally and briefly displayed in the user's browser. However, the client-side router isn't able to find the component, ultimately resulting in a *404 - Not Found* in the browser.
402-
>
403-
> Therefore, place interactive SSR components in the `.Client` project's `Pages` folder if the app adopts global WebAssembly or global Auto rendering via the `Routes` component.
394+
If using the preceding component in a Blazor Web App, place the component in the server project's `Components/Pages` folder. The server project is the solution's project with a name that doesn't end in `.Client`. When the app is running, navigate to `/render-mode-2` in the browser's address bar.
404395

405396
## Client-side rendering (CSR)
406397

0 commit comments

Comments
 (0)