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
Is your feature request related to a problem? Please describe.
I have stateful buttons and tag widgets on entities in list views. These controls use optimistic rendering which eventually triggers a full refresh here after the client change and server update. The refreshView call seems unnecessary for my use case and also causes the vertical scroll to jump.
Describe the solution you'd like
A flag to disable the refreshView call. Perhaps like this:
{
undoable: true,
disableRefresh: true
.....
}
Describe alternatives you've considered
I have a workaround by making my own dispatch call, but it currently has no error handling and I'd prefer to directly call useMutation.
Additional context
Looking for guidance on whether or not this makes sense and potential direction on how to implement. I can possibly offer a PR. Somewhat related, I'd also like to optimistically render and issue the server update simultaneously with no undo or notification. Notify would only occur on an error.
The text was updated successfully, but these errors were encountered:
This is somehow fixed by #4386. We don't do a full refresh anymore - just replaying the requests that were delayed while in optimistic mode. Besides, you can disable refetching using the new Application Cache feature.
Is your feature request related to a problem? Please describe.
I have stateful buttons and tag widgets on entities in list views. These controls use optimistic rendering which eventually triggers a full refresh here after the client change and server update. The refreshView call seems unnecessary for my use case and also causes the vertical scroll to jump.
Describe the solution you'd like
A flag to disable the refreshView call. Perhaps like this:
Describe alternatives you've considered
I have a workaround by making my own dispatch call, but it currently has no error handling and I'd prefer to directly call useMutation.
Additional context
Looking for guidance on whether or not this makes sense and potential direction on how to implement. I can possibly offer a PR. Somewhat related, I'd also like to optimistically render and issue the server update simultaneously with no undo or notification. Notify would only occur on an error.
The text was updated successfully, but these errors were encountered: