Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Prevent duplicate onCompleted calls during query execution #3461

Merged
merged 1 commit into from Sep 6, 2019

Commits on Sep 6, 2019

  1. Prevent duplicate onCompleted calls during query execution

    This commit tweaks the dependencies that are watched to decide
    if `afterExecute` should be called (which triggers `onCompleted`),
    in `useQuery`. This helps prevent extra and un-necessary repeated
    calls to `onCompleted`, during a single query request-response
    cycle.
    hwillson committed Sep 6, 2019
    Configuration menu
    Copy the full SHA
    ae30d7a View commit details
    Browse the repository at this point in the history