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

Fix async packages #732

Merged
merged 9 commits into from
May 19, 2024
Merged

Fix async packages #732

merged 9 commits into from
May 19, 2024

Conversation

lemonmade
Copy link
Owner

No description provided.

This comment has been minimized.

Abort inflight requests

Replace `AsyncAction` with `AsyncFetch`

Fix async packages
packages/preact-async/source/AsyncContext.tsx Outdated Show resolved Hide resolved
return new AsyncFetch<Data, Input>(resolvedFetchFunction);
}

// TODO: react to key changes
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Todo

packages/preact-async/source/hooks/fetch.ts Outdated Show resolved Hide resolved
.changeset/gentle-snakes-refuse.md Show resolved Hide resolved
@lemonmade lemonmade merged commit 5d5b90b into main May 19, 2024
7 checks passed
@lemonmade lemonmade deleted the more-async-apis branch May 19, 2024 19:53
@lemonmade lemonmade mentioned this pull request May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant