dotnet / dotnet/aspnetcore

Synchronize the state of RenderModeWebAssembly and RenderModeServer

Open
#50,966 5 comments 0 reactions 0 assignees View on GitHub
area-blazor enhancement Pillar: Complete Blazor Web
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.

I have many different components.
For example, the navigation is in wasm, in the navigation I have a button to change the language of the page. When you press it, it changes the language from English to Polish. I would like to transfer it now to the state of SSR Blazor. How can I do this?
Currently the state is separate in SSR and WASM.
It would be useful to be able to designate the transfer of state between them.

### Describe the solution you'd like

I would like to transfer the state from WASM to Server Side Blazor.
If I click something in the WASM navigation then in Server Side Blazor it will execute ``event Action StateHasChanged. ``

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.