You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a standard .NET event. If you don't remove your subscription then the store will keep a reference to your component instance and it will never be garbage collected, resulting in a memory leak.
Personally I wouldn't subscribe to the event. It's really only meant for people who can't descend from FluxorComponent (which you have).
https://github.com/JoeyMckenzie/BlazorConduit/blob/master/source/BlazorConduit.Client/Pages/Article/Article.razor#L79
This is a standard .NET event. If you don't remove your subscription then the store will keep a reference to your component instance and it will never be garbage collected, resulting in a memory leak.
Personally I wouldn't subscribe to the event. It's really only meant for people who can't descend from
FluxorComponent
(which you have).I would change IsFollowing to a property:
The text was updated successfully, but these errors were encountered: