Beacuse your NavMenu component is still in Static(by default), applying a render mode per page with @rendermode InteractiveAuto
would only affect the current component; it won't affect other child components in the parent component.
If you add this line
<h1 class="text-muted">Render @(OperatingSystem.IsBrowser() ? "Wasm" : "Server")</h1>
No comments:
Post a Comment