-
Notifications
You must be signed in to change notification settings - Fork 55
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
[draft] The end of undefined docSync() / await doc() #402
Draft
pvh
wants to merge
41
commits into
main
Choose a base branch
from
async-find
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
50cdcf0
Mostly-working async find implementation, a few failing tests here.
pvh e510bb5
wip -- working on tests. there's an asymmetry to document discovery p…
pvh 9fdda55
wip -- heaps of console logs but fixed a subtle networking race condi…
pvh 72e6490
one failing test left
pvh 6ddc2b2
fix those two tests
pvh 858bd27
throw on not ready
pvh 87d8fb6
remove unhelpful test and some cnosole.logs
pvh 4be34ba
all tests and tsc passing
pvh 5fa277f
alright, find is now abortable
pvh 70ed5dc
added AbortController support -- couple of failing tests but it's too…
pvh 1f0c7a0
fix abort test
pvh 496fdc5
add a check that aborting also prevents going to unavailable
pvh 4da60ad
add a check that aborting also prevents going to unavailable
pvh 5bc01a8
wip of new useDoc/Handle
pvh c61e7e4
working on the react-hooks rewrite, still messy in here
pvh f548d88
okay, tests passing. still more to do
pvh 1f73b8b
working on tests
pvh bc4fdcf
alright, more passing tests
pvh da5ed07
remove a duplicate test
pvh 4d5f507
fix the test that was corrupting the shared repo
pvh c584221
usedocument passing all tests too
pvh 4ccd975
continued cleanup
pvh c32039a
cleaned up the comment
pvh 169b11d
failed wip
pvh 5e7d3d1
useDocuments passing some basic tests
pvh 4d4c763
one failing test: suspense false on useDocHandles
pvh ee74e58
update react-todo
pvh 4b90c35
update react-counter example, too
pvh e880590
refactoring .doc away here
pvh 5b91e7b
get rid of old .doc
pvh 31b6d96
updating other packages
pvh 65ffd20
clean up some warnings
pvh 0f787e3
fix a couple comments I missed
pvh 95f4882
fix a couple tests broken by moving to std. error boundary
pvh f61d420
fix useDocHandle
pvh 98f40a4
okay, more tests passing
pvh 73f0838
okay, more decent tests for useDocuments
pvh f4258e6
working on an async generator with progress version of find
pvh d568155
restore abortcontroller support
pvh 5015c44
the patch is in a messy state but tests are passing
pvh 485f4c7
missed a file
pvh 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
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
Oops, something went wrong.
Oops, something went wrong.
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.
This probably need removal before merging too?