0.1.5 • Published 1 year ago
@externdefs/solid-query v0.1.5
solid-query
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.