https://github.com/mary-ext/solid-query
my own Solid.js adapter for TanStack Query
https://github.com/mary-ext/solid-query
solidjs solidjs-library tanstack-query typescript
Last synced: 10 months ago
JSON representation
my own Solid.js adapter for TanStack Query
- Host: GitHub
- URL: https://github.com/mary-ext/solid-query
- Owner: mary-ext
- Created: 2025-06-29T14:07:04.000Z (about 1 year ago)
- Default Branch: trunk
- Last Pushed: 2025-06-29T14:27:46.000Z (about 1 year ago)
- Last Synced: 2025-08-30T03:33:35.175Z (10 months ago)
- Topics: solidjs, solidjs-library, tanstack-query, typescript
- Language: TypeScript
- Homepage:
- Size: 50.8 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @mary-ext/solid-query
https://github.com/TanStack/query/tree/a9b073a85edc45331d4b346be8e5bf2660507e53/packages/solid-query/src
A fork of `@tanstack/solid-query`
- Removes `createResource` usage, thereby removing any Suspense support.
- Removes `throwOnError` functionality, perhaps it'll come back later.
- Removes `reconcile` functionality, `structuralSharing` is preferred.
- Removes `isRestoring` functionality, I don't have any need for it.
- `createQueries` is turned into something like a reducer, which is what it's supposed to be anyway.
- Removes `createStore` usage, the nested reactivity shouldn't be affecting the actual query data,
it's not really useful in practice, especially if the query data is replaced entirely.
- Set up `notifyManager` to make use of Solid.js' batching, and unset the scheduler so it works
synchronously to match.
- Removes server-side support, these were mostly in the form of special configuration.
- Passes the query client into the accessor, removes the need for separate useQueryClient to
retrieve it.
- General clean up around the codebase.