canhorn/EventHorizon.Blazor.Interop

Consider using Blazor JS Isolation to load the interop bridge

diegofrata opened this issue · 1 comments

This would remove the need to add a <script> tag with the interop-bridge to every project that uses this library.

https://docs.microsoft.com/en-us/aspnet/core/blazor/call-javascript-from-dotnet?view=aspnetcore-5.0#blazor-javascript-isolation-and-object-references

Actually just looked into this. It is unfeasible as it would imply losing access to InvokeUnmarshalled APIs.