Closed ryanbuening closed 1 year ago
I dont get any error in our server side demo. Maybe you see where is configuration difference? https://github.com/rungwiroon/BlazorGoogleMaps/tree/master/ServerSideDemo
Maybe i need to do some steps to reproduce. Maybe you could reproduce in our server side demo
Strange issue, strange solution :). https://www.nuget.org/packages/BlazorGoogleMaps/3.1.1
What do you think if we migrate all project from standart to .net6 (or even 7)? There was such ideas for a long time.
I think it is reasonable enough to do so. Since:
The downsides I can think of are:
I have never released a resuable component to Nuget - so take the following with a grain of salt: I think that as a reusable component auther you should target the lowest version that is "modern" and feature rich enogh for you. This will allow your users to use this component, without constraining them to a new version that they might not have migrated to yet. I think in your case this would be .net5.0, possiblly .net6.0.
Also, take a look this section in the linked article. It is very relevnt to this topic.
In a Blazor Server app, starting with version 3.1.0, we are seeing the exception below in our logs. It seems to occur when a user navigates from a page that includes a map. Is there something that needs done in the component to properly dispose?