Skip to content

2.0.0-rc.7 async downstream of optimistic delays reveal of final result #3331

Description

@GabbeV

Describe the bug

Revert of optimistic waits for the optimistic to complete instead of reverting as soon as we have authoritative result causing extra delay.

Your Example Website or App

https://s.olid.uk/id/TcZvO7HhTO65SW_12BjWCw

Steps to Reproduce the Bug or Issue

  1. Open repro
  2. Click button
  3. Observe how we see both optimistic and final result and it takes aprox 4 seconds instead of 2

Expected behavior

I expect the authoritative result arriving to cause the revert to start immediately.

Screenshots or Videos

No response

Platform

  • OS: Windows
  • Browser: Firefox

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions