dotnet / dotnet/aspnetcore

Blazor SSR -> WASM event replayability

Open
#59,317 4 comments 1 reaction 0 assignees View on GitHub
area-blazor enhancement
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

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.

When Blazor SSR with WASM hydration is used, and there is a clickable element in the page, there is a noticeable delay between when the element does not register clicks, which leads to a bad user experience.

### Describe the solution you'd like

Implement an event replay functionality, which records click events in javascript between the SSR -> WASM hydration phase, and then executes them once WASM has started.

### Additional context

Angular 19 just released this feature (called "Event replay"), maybe you can get some inspiration from there.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.