-
-
Notifications
You must be signed in to change notification settings - Fork 643
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
fix(query): create QueryObserver with initial options #1417
Merged
Merged
Changes from 24 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
b78c8d8
fix(query): create QueryObserver with initial options
danielr18 b5d2eec
Remove use of useSES
danielr18 712e61a
remove unused warning
dai-shi fa10081
wip: extract only queryKey
dai-shi 49ce3b1
Keep initial options ref per QueryClient
danielr18 7602b1b
refactor with observerMap
dai-shi feb402f
refactor
dai-shi db515cd
wip: refactor
dai-shi b0500e4
wip: refactor 2
dai-shi e491150
wip: refactor 3
dai-shi 6168c6a
Revert "wip: refactor 3"
dai-shi f26a00b
Revert "wip: refactor 2"
dai-shi 1897929
wip: use makePending
dai-shi d182c89
wip: move refetch to startQuery
dai-shi 8ee20e9
wip: a trial eliminating unsubIfNotMounted
dai-shi c2bc340
wip: fix for react 18
dai-shi 7641e8b
wip: refactor eliminating options in write
dai-shi 4dc1d85
wip: refactor startQuery in onMount
dai-shi 774c7f7
wip: subscribe instead of refetch
dai-shi fc9eac9
wip: keep previous data in weak map
dai-shi b6b18f5
wip: refactor removing observer map
dai-shi 0aeb9e1
wip: refactor startQuery a bit
dai-shi 55aaa50
wip: refactor types
dai-shi 060e768
some more refactor and comment
dai-shi b422598
Merge branch 'main' into fix/query-cache
dai-shi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't be able to solve this. Maybe I'm missing something. Happy if someone tries it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, maybe it's Strict Effect's double invocation.