@mary-ext/solid-query
v1.0.2
Published
personal-use fork of @tanstack/solid-query
Downloads
31
Readme
@mary-ext/solid-query
https://github.com/TanStack/query/tree/a9b073a85edc45331d4b346be8e5bf2660507e53/packages/solid-query/src
A fork of @tanstack/solid-query
- Removes
createResourceusage, thereby removing any Suspense support. - Removes
throwOnErrorfunctionality, perhaps it'll come back later. - Removes
reconcilefunctionality,structuralSharingis preferred. - Removes
isRestoringfunctionality, I don't have any need for it. createQueriesis turned into something like a reducer, which is what it's supposed to be anyway.- Removes
createStoreusage, 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
notifyManagerto 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.
