Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite RTKQ internal subscription lookups and subscription syncing #3824

Merged

Commits on Oct 26, 2023

  1. Rewrite RTKQ internal subscription lookups and subscription syncing

    - Changed `subscriptionUpdated` from a microtask to a 500ms throttle
    - Exposed the RTKQ internal middleware state to be returned via an
      internal action, so that hooks can read that state directly without
      needing to call `dispatch()` on every render.
    - Reworked tests to completely ignore `subscriptionsUpdated` in any
      action sequence checks due to timing changes and irrelevance
    - Fixed case where `invalidateTags` was still reading from store state
    markerikson committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    f9e0531 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. Fix refetch test

    markerikson committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    306b1ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a3ea9c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e0c3869 View commit details
    Browse the repository at this point in the history