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
Currently the extra code for proper CancellationToken handling is copied e.g. in AccountDetails but also in NFTGrid and a lot of pages don't support it at all (but should!).
The idea is to move this into an ancestor component that provides a new overridable method (e.g. OnParametersSetAsyncWithCTS) that is called after CTS allocation has been done and before it cleans up.
It's not ideal OOP as descendants need to know they need to override the new method instead of OnParametersSetAsync, but I currently don't see a better approach.
The text was updated successfully, but these errors were encountered:
Currently the extra code for proper
CancellationToken
handling is copied e.g. inAccountDetails
but also inNFTGrid
and a lot of pages don't support it at all (but should!).The idea is to move this into an ancestor component that provides a new overridable method (e.g.
OnParametersSetAsyncWithCTS
) that is called after CTS allocation has been done and before it cleans up.It's not ideal OOP as descendants need to know they need to override the new method instead of
OnParametersSetAsync
, but I currently don't see a better approach.The text was updated successfully, but these errors were encountered: