-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
feat: Preact Adapter #9935
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
Merged
Merged
feat: Preact Adapter #9935
Changes from 45 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
3daff38
initial setup -- duplicated + package.json edited
theVedanta 0e40281
simple preact updations
theVedanta 722e05b
missed a React.ReactNode
theVedanta 78cf64a
testing grunt work (preact library + other small issues + ErrorBounda…
theVedanta a9c5c75
missed a few
theVedanta 8cc6ed5
Adds ErrorBoundary (from react-error-boundary, but scaled down for pr…
theVedanta 088795b
useSuspenseQueries left -- removed the useQuery.promise tests
theVedanta 0f5bdbc
forgot the console logs
theVedanta 6d23454
useSuspenseQueries 2 resolved; tests done
theVedanta 60502ad
Merge branch 'main' into pr/9935
TkDodo f2f73f9
Merge branch 'main' into preact-adapter
TkDodo 460919e
ci: apply automated fixes
autofix-ci[bot] 1a3afe6
Merge branch 'main' into preact-adapter
TkDodo 05af042
fix: example
TkDodo 4d5a0f0
fix: configs should be symlinks
TkDodo f451435
fix: sync versions for npm-run-all2
TkDodo b2e95fd
ref: re-sync runall2
TkDodo 34f0262
ref: go back to 5.0.0
TkDodo 4e366c4
ref: remove changelog
TkDodo 3c6b541
react-query -> preact-query
TkDodo 66605b1
remove use client directive + added the useSyncExternalStore (decoupl…
theVedanta c069be8
Merge branch 'preact-adapter' of https://github.com/theVedanta/query …
theVedanta 445e37b
remove the react remnants
theVedanta bdc5d11
generate docs
theVedanta 3e43af5
typescript eslint
theVedanta f1b1b78
docs
theVedanta 9c72beb
vite config fix
theVedanta 893b99c
docs now reference react docs (most of them atleast)
theVedanta 9fd3064
code-rabbit issues addressed
theVedanta 6422fec
<div/> lol
theVedanta b1e5ce3
Merge branch 'main' into pr/9935
TkDodo aa88156
fix: docs
TkDodo ce91aff
ci: apply automated fixes
autofix-ci[bot] 360f677
fix: lockfile
TkDodo 2da4498
fix: duplicated versions
TkDodo c0e38ad
lockfile (I cooked or am I cooked)
theVedanta acf8892
Merge
theVedanta 703ac76
ci: apply automated fixes
autofix-ci[bot] f676936
Making small edits to fix versioning, warnings, and lock
theVedanta ded0207
unhandled error compat
theVedanta 4a1e4ae
Merge branch 'TanStack:main' into preact-adapter
theVedanta 7ad6fae
Merge branch 'TanStack:main' into main
theVedanta 236afcb
Fixing CI
theVedanta c3990f4
merge
theVedanta ae8786e
Fixed the CI errors
theVedanta 0604423
ci: apply automated fixes
autofix-ci[bot] dc00954
Prettier format
theVedanta be53d96
Update changeset for Preact Adapter feature
TkDodo 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| id: graphql | ||
| title: GraphQL | ||
| ref: docs/framework/react/graphql.md | ||
| replace: { 'React': 'Preact', 'react-query': 'preact-query' } | ||
| --- |
6 changes: 6 additions & 0 deletions
6
docs/framework/preact/guides/background-fetching-indicators.md
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| id: background-fetching-indicators | ||
| title: Background Fetching Indicators | ||
| ref: docs/framework/react/guides/background-fetching-indicators.md | ||
| replace: { 'React': 'Preact', 'react-query': 'preact-query' } | ||
| --- |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| id: caching | ||
| title: Caching Examples | ||
| ref: docs/framework/react/guides/caching.md | ||
| replace: { 'React': 'Preact', 'react-query': 'preact-query' } | ||
| --- |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| id: default-query-function | ||
| title: Default Query Function | ||
| ref: docs/framework/react/guides/default-query-function.md | ||
| replace: { 'React': 'Preact', 'react-query': 'preact-query' } | ||
| --- |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| id: dependent-queries | ||
| title: Dependent Queries | ||
| ref: docs/framework/react/guides/dependent-queries.md | ||
| replace: { 'React': 'Preact', 'react-query': 'preact-query' } | ||
| --- |
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.
🧩 Analysis chain
🏁 Script executed:
Repository: TanStack/query
Length of output: 2030
Fix incorrect hydration reference path.
The hydration entry at line 1244 points to
framework/react/reference/functions/HydrationBoundary, which does not exist. Preact has its own HydrationBoundary documentation atframework/preact/reference/functions/HydrationBoundary.md. Update the path to:{ "label": "hydration", "to": "framework/preact/reference/functions/HydrationBoundary" }🤖 Prompt for AI Agents