0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-16 22:50:20 +00:00
Commit graph

17 commits

Author SHA1 Message Date
Davyd NRB
5ca904d068
Enhance DevTools support with Rozenite Plugin (#10328)
Updated the DevTools support section to include the Rozenite Plugin for React Native DevTools users, enhancing the available debugging options.
2026-08-22 10:28:39 +02:00
Roitium.
3f30619e7f
docs(react-native): fix example to include initial state (#10172)
* docs: fix expo-network example code block

* Apply suggestions from code review

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-02-26 15:14:24 +01:00
Imad Selka
0650eaf116
docs: clarify queryClient refetch behavior for stale queries (#9560)
* docs(queryClient): add example for refetchQueries with stale: true and type: active

* docs(react-native): modify useRefreshOnFocus example

* docs(react-native): add queryKey in useRefreshOnFocus example

* Apply suggestion from @TkDodo

* ci: apply automated fixes

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-01 12:53:17 +02:00
Austin Johnson
696fd443c7
feat(devtools): 🏝️ TanStack Query DevTools for Expo/React Native! 🚀 (#8846)
* test

* feat(devtools): add action event types and notify functionality for query actions

* cleanup commeny

* fix(devtools): update notifyDevtools to use queryClient for all action notifications

* remove dup call

* Fix online manager bug not syncing correctly

* Update docs

* Fix default case error due to additional events from dev tools.

* Add events

* ci: apply automated fixes

* Remove no longer needed code

* ci: apply automated fixes

* revert previous change

* undo minor text change

* ci: apply automated fixes

* Update packages/query-devtools/src/Devtools.tsx

* Apply suggestions from code review

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-12 11:00:57 +02:00
Martijn Gribnau
b184cd5752
docs(react-native): fix typo (#8637) 2025-02-12 16:01:46 +01:00
Frederic R.
4621e5b6b1
docs(react-native): partial revert online manager usage (#8634)
introduced a regression in the doc with PR #8633
only expo network returns an object
NetInfo returns a function
mea culpa
2025-02-11 17:25:39 +01:00
Frederic R.
5bf569b1f3
docs(react-native): online manager usage change (#8633)
resolves #8631
2025-02-11 15:55:17 +01:00
Dominik Dorfmeister
e2bc2165fa
feat(react-query): allow useQuery and useQueries to unsubscribe from the query cache with an option (#8348)
* feat(react-query): allow useQuery and useQueries to unsubscribe from the query cache with an option

* test: subscribed

* fix: revert calling getOptimisticResult later

* docs(react): update the react-native.md section (#8506)

* update the doc

* update the doc

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>

* docs: reference

---------

Co-authored-by: Florian De la comble <f.delacomble@gmail.com>
2025-01-08 15:17:08 +01:00
René Klomp
7f9f28eef2
docs: Removed unused notifyOnChangeProps prop (#8415) 2024-12-07 20:15:43 +01:00
Daniel Reichhart
102b6a892d
docs(react-query): add example for Expo Network in online status management (#8298)
* docs: expo-network

* ci: apply automated fixes

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-22 19:32:19 +01:00
Uğurcan Emre Ataş
caf6556fce
chore(docs): update useQueryFocusAware docs (#8205)
* chore(docs): update react native useQueryFocusAware docs

* ci: apply automated fixes

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-23 15:29:30 +02:00
Navin Khadka
1fc6124bfd
docs: Fix typo (#7865) 2024-08-07 16:16:17 +02:00
John
31b9ab49af
feat(core): Add possibility to pass a callback to enabled. (#7566)
* Add possibility to pass a callback to enabled.

* Refactor into using the same pattern as resolving staletime, with the use of a resolveEnabled util function

* Update tests for enabled option as a callback

* update docs

* remove typo

* Update enabled type in docs

* remove duplicated test case

* Fix eslint errors

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: John Pettersson <john.pettersson@carnegie.se>
2024-06-25 16:10:16 +02:00
Randall71
f8ce2ba7c1
docs: add Expo dev tools (#7461) 2024-06-08 19:30:13 +02:00
Dominik Dorfmeister
97f274e161
docs: Update react-native.md
closes #7065
2024-03-11 20:22:57 +01:00
Oluwaseun Raphael Afolayan
5e7b273761
docs: Update React Native Example code to Match React Native syntax. (#7028)
The React Native example previously used `<div> </div>` tags and as we all know, divs are a react thing.

This PR fixes that by using the intended (I believe) `<Text> </Text>` tags
2024-03-05 08:22:27 +01:00
Lachlan Collins
0cdbd5a198
docs: Re-organise for new docs layout (#6763)
* docs: Re-organise for v2 docs layout

* Add $schema
2024-01-26 07:57:22 +11:00
Renamed from docs/react/react-native.md (Browse further)