Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TanStack/query
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.22.3
Choose a base ref
...
head repository: TanStack/query
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.22.4
Choose a head ref
  • 2 commits
  • 7 files changed
  • 3 contributors

Commits on Jan 21, 2023

  1. release: v4.22.3

    tannerlinsley committed Jan 21, 2023
    Configuration menu
    Copy the full SHA
    bae03c0 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2023

  1. fix(core): do not call mutate callbacks if mutation started after unm…

    …ount (#4848)
    
    * test: add mutation callback after unmount test
    
    * test: make test more resilient
    
    * fix(core): do not call mutate callbacks if mutation started after unmount
    
    * test: adapt tests to what we have in v5
    
    - one test has been removed (because setState was removed entirely)
    - the second test has been re-written to not use internals anymore, and it works in v4 as well
    
    * fix(core): do not call mutate callbacks if mutation started after unmount
    
    by making sure the callbacks are only invoked if we have an active listener
    
    * chore: prettier again
    
    Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
    janlat and TkDodo authored Jan 22, 2023
    Configuration menu
    Copy the full SHA
    901e826 View commit details
    Browse the repository at this point in the history
Loading