ngx-signal-query 1.6.0-dev.1 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ over.
|
|
|
16
16
|
|
|
17
17
|
- 🔌 **Observables end to end.** Return `http.get()` from a `queryFn` or `mutationFn`. For a query, unsubscribing is the cancellation: once no component needs it, the request is aborted, with no `AbortSignal` plumbing.
|
|
18
18
|
- 🅰️ **Angular all the way down.** State is signals, configuration is `provideQueryClient(withDefaultOptions(...))`, and default mutation hooks run in an injection context, so a global `onError` can `inject()` what it needs.
|
|
19
|
-
- 🪶 **Small.**
|
|
19
|
+
- 🪶 **Small.** Tree-shakable ESM, no runtime dependencies beyond `tslib`.
|
|
20
20
|
- 🧭 **Familiar concepts.** `queryKey`, `staleTime`, `invalidateQueries` and `placeholderData` mean what you'd expect. Moving to TanStack Query later is mostly mechanical: wrap Observables in `lastValueFrom` and swap the provider.
|
|
21
21
|
|
|
22
22
|
## Features
|
|
@@ -41,8 +41,8 @@ them today, TanStack Query has them.
|
|
|
41
41
|
npm install ngx-signal-query
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
-
Requires **Angular 19+** and **RxJS 7.4+** (peer dependencies `@angular/core
|
|
45
|
-
and `rxjs`).
|
|
44
|
+
Requires **Angular 19+** and **RxJS 7.4+** (peer dependencies `@angular/core`,
|
|
45
|
+
`@angular/common` and `rxjs`).
|
|
46
46
|
|
|
47
47
|
## Quick start
|
|
48
48
|
|
package/package.json
CHANGED