0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-18 19:33:22 +00:00
Commit graph

9 commits

Author SHA1 Message Date
Wonsuk Choi
437d3bec76
style(examples): write durations in 'count * unit * 1000' order (#12383) 2026-10-26 02:29:26 +09:00
Wonsuk Choi
801ec31b7d
refactor(examples/angular/{auto-refetching,optimistic-updates}): move the data layer into 'services/tasks' with query and mutation factories (#12372) 2026-10-26 02:01:19 +09:00
Wonsuk Choi
55fa9595ed
refactor(examples/angular): type the mock interceptor events and bodies as 'unknown' instead of 'any' (#12177) 2026-10-20 11:52:39 +09:00
Wonsuk Choi
83b0831c27
fix(examples): rename the auto-refetching title from 'stale-time' to 'refetchInterval', which is the option it sets (#12051) 2026-10-17 04:01:34 +09:00
Wonsuk Choi
bbc8e95edf
chore(examples/angular): replace the legacy '.eslintrc.cjs' with a flat config and run 'test:eslint' (#11952)
* chore(examples/angular): replace the legacy '.eslintrc.cjs' with a flat config and run 'test:eslint'

* refactor(examples/angular/{auto-refetching,optimistic-updates}): wrap the 'POST' case in a block
2026-10-11 01:32:52 +09:00
Arnoud
e75a5f9d55
feat(angular-query): move devtools to conditional sub-paths (#9270)
* feat(angular-query-devtools): move devtools to conditional sub-paths, improves tree shaking and dependency injection

* Fix compatibility with moduleResolution node

* ci: apply automated fixes

* fix preview release for angular-query

* Fix angular-query preview release

* Revert some changes made obsolete by better Vite based alternative

* Update export paths

* Fix production exports and publishconfig

* knip config

* remove postpack

* Generate API reference docs

* type declarations in correct directory

* Update documentation

* knip config

* Optional core devtools dependency

* ci: apply automated fixes

* regenerate api reference docs

* ci: apply automated fixes

* ci: apply automated fixes (attempt 2/3)

* regenerate api reference docs

* formatting

* apply coderabbit suggestions

* Improve unit tests

* docs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-16 00:07:53 +02:00
Arnoud
e3b40d4d0d
chore(angular-query): remove standalone component markers as it's now the default (#9647) 2025-09-12 15:09:42 +02:00
Arnoud
79608f3069
docs(angular-query): angular examples improvements (#8782) 2025-03-09 20:16:50 +01:00
Matan Shushan
d6621a8631
docs(angular-query): add auto-refetching example (#8371)
* feat(examples): add angular auto-refetching example

Implement an example showcasing auto-refetching in Angular using TanStack Query. Includes a mock API interceptor to simulate HTTP calls for tasks.

* feat(examples): add angular auto-refetching example

Implement an example showcasing auto-refetching in Angular using TanStack Query. Includes a mock API interceptor to simulate HTTP calls for tasks.

* feat(examples): update lock file

* Update lock file

* ci: apply automated fixes

* Update examples/angular/auto-refetching/.devcontainer/devcontainer.json

Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>

* Update examples/angular/auto-refetching/package.json

Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>

* Update examples/angular/auto-refetching/src/index.html

Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>

* Update examples/angular/auto-refetching/tsconfig.json

Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>

* Update examples/angular/auto-refetching/tsconfig.json

Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>

* Update examples/angular/auto-refetching/tsconfig.json

Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>

* Update examples/angular/auto-refetching/src/app/app.config.ts

Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>

* Update MR change interceptor to function interceptor and update all tasks to quert options obj

* Update Angular version

* Update Angular version

* ci: apply automated fixes

* Add fetching indicator

* add example to docs

* fix build

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>
2024-12-05 00:30:59 +01:00