[Blazor] Serialization optimizations
Open
area-blazor
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 281
Description
There are many places on the stack where we serialize payloads multiple times to/from strings.
* JSInterop
* Root component markers
* Persistent component state
While there are no functional issues with the current approach and performance is acceptable. There is an opportunity for us to reduce memory usage and improve performance on some of these APIs that get called regularly.
We know for a fact that in some cases it has a clear impact, for example in JS interop.
Contributor guide
Assessment
This issue has not been assessed yet.