Have to disable StreamRendering for Blazor Web App to run on browser with JS disabled
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 281
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Describe the bug
UK Gov only allows javascript as an experience enhancement. All sites must work on browsers with JS disabled.
If I disable JS and run the new Blazor web app "Weather" page I just get an endless `Loading...` message.
To fix this I have to remove `@attribute [StreamRendering(true)]`, but then I cannot make use of StreamRendering in the majority of browsers that have JS enabled.
Could this please be fixed to have a fallback, so `StreamRendering` is only active if `true` and JS is enabled?
### Expected Behavior
Running a `StreamRendering(true)` decorated page should not stop the page working in a browser with JS disabled.
### Steps To Reproduce
1: New Blazor web app
2: Include the sample pages
3: Disable JS in the browser
4: Run the app
### Exceptions (if any)
_No response_
### .NET Version
8.0.100-rc.2.23502.2
### Anything else?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.