Eilon / MauiHybridWebView

MIT License
202 stars 40 forks source link

JSInterop performance vs Blazorwebview #69

Open orosbogdan opened 1 week ago

orosbogdan commented 1 week ago

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 ?