MauiHybridWebView icon indicating copy to clipboard operation
MauiHybridWebView copied to clipboard

JSInterop performance vs Blazorwebview

Open orosbogdan opened this issue 7 months ago • 1 comments

In regards to my question here https://github.com/dotnet/maui/issues/13551, I'm trying to get a better performance while transfering arrays of objects from javascript to c# and from c# to javascript, so far I did it only with the blazorwebview that MAUI blazor hybrid offers and it's pretty slow (probably because of JSON serialization?).

I understand that IJSUnmarshalledRuntime is deprecated and the JSImport attribute is applicable only to webassembly.

Would this hybridwebview be able to host a website made with blazor webassembly ? If so would the performance for the js interop in case of arrays of objects being transfered be improved ?

orosbogdan avatar Jul 04 '24 20:07 orosbogdan