Root component can't do streaming SSR #51956
Labels
area-blazor
Includes: Blazor, Razor Components
bug
This issue describes a behavior which is not expected - a bug.
feature-blazor-streaming-rendering
Pillar: Complete Blazor Web
Priority:1
Work that is critical for the release, but we could probably ship without
Milestone
If you try to use
@attribute [StreamRendering]
on your root component, e.g.:... you'll get a client-side error like this:
Looks like this should be possible to fix in the TypeScript code. Even though it would be very unusual to do this, I can't think of any reason why it should be disallowed.
If for some reason it turns out to be impractical to support the root component doing streaming SSR, we should at least have a better error message explaining why.
The text was updated successfully, but these errors were encountered: