Add Blazor component event handling to Blazor SSR
- 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
### Is your feature request related to a problem? Please describe the problem.
While Blazor SSR is great, it is limited to form-based interactivity with very limited UI state management. It would be wonderful to supplement the framework so one can (optionally) enabled Blazor events (like OnClick) using SSR and HttpRequest to fire a SS event and stream in DOM changes. See solution suggestion
### Describe the solution you'd like
I would love to see Blazor SSR to (optionally) support events. Think Blazor global interactive server without a WebSocket, but instead limited focused events and state transfer via HTTPRequest.
I was made aware (via the video below) of a very interesting open-source project called Hydro that does this with Razor Pages. It would be amazing if this type of functionality could be supported on Blazor SSR. It would, of course, be more limited than Interactive Server, but also be a sweet spot for scalability and dev productivity.
Bottom line, just want to expose the Blazor team to this project/idea, and see if in 10, we could get something similar baked in!
https://www.youtube.com/watch?v=CwZjQJHwHbQ
https://github.com/hydrostack/hydro/
### Additional context
_No response_
Contributor guide
Research direction
The issue names no repository files, tests, or entry points. Start by surveying the Blazor SSR implementation and its existing form interactivity, then clarify the event, HTTP, and state-transfer scope with maintainers; completion criteria are not specified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100