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
fix: no hydration when new promise comes in (#8383)
* add failing repro test
* update assertinos
* add logg
* ehm - maybe fix?
* rm -only
* make example
* upd
* ad debug logs
* more debugging
* push
* maybe???
* rm log
* revert
* fix: ?
* fix: check for pending status again
otherwise, we risk including promises that happen because of background updates (think persistQueryClient)
* fix: clear serverQueryClient between "requests"
otherwise, we are re-using the cache and the query won't be in "pending" state the second time around
* chore: remove logs
* rethrow next build error
* kick off ci again
* add `shouldRedactError` option
* pluralize
* docs
* chore: more memory
* chore: revert more memory
* don't compare statuses if they don't exist
* ci: apply automated fixes
* lint
---------
Co-authored-by: Dominik Dorfmeister <[email protected]>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
- If you would like to extend the function while retaining the default behavior, import and execute `defaultShouldDehydrateQuery` as part of the return statement
40
40
-`serializeData?: (data: any) => any` A function to transform (serialize) data during dehydration.
0 commit comments