C#C
C#4y ago
Godspeed

Disable prerendering on a single component in Blazor WASM

I currently have prerendering enabled in my Blazor WASM hosted project (in _Host.cshtml through <component type="typeof(App)" render-mode="WebAssemblyPrerendered" />), and prerendering works.

However, I have one component in my app that should not be prerendered, and it's prerendered state would only cause confusion by my users. Is there a good way to exclude a single component from prerendering?
Was this page helpful?