Open SteveSandersonMS opened 12 months ago
@SteveSandersonMS didn't this came up at the time?
@javiercn You might be thinking of "root component can't be interactive" which is slightly different.
Thanks for contacting us.
We're moving this issue to the .NET 9 Planning
milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s).
If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues.
To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.
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.