#TanstackQuery
RSCで取得したデータを複数画面に渡って使いたいけどうまくいかなくて、結局クライアントサイドでTanstackQuery通してやることにしちゃった。あとNextのキャッシュだと速攻で容量制限にあたった。この辺の知識が弱い
August 23, 2025 at 11:10 AM
I have to say I love react query!
RefetchType:active allows you to refetch invalidated queries when that query is mounted anywhere in the UI.
It helped me solve a nasty bug in my work project.

#reactquery #tanstackquery
May 14, 2025 at 7:39 AM
tanstackQueryでも使ってんのかこれ(ソースみてる)
May 6, 2025 at 6:01 PM
🚀 React Query vs Fetch/Axios

Stop writing:
🔁 Repetitive fetch code
😵‍💫 Manual loading/error handling
🧊 No caching

Start using:
⚡ Built-in caching
♻️ Background refetch
📊 Devtools

📦 TanStack Query = Smart data fetching in React

#ReactJS #TanStackQuery #ReactQuery
April 25, 2025 at 2:08 AM
If you're not using a data-layer that's built with hooks as a first-class citizen, you'll forever be fighting a losing battle. RTKQuery and TanstackQuery are ones I hear repeated most often, although I have limited experience in both (we use an idempotent redux layer to avoid this issue)
April 8, 2025 at 4:19 AM
Struggling with data fetching in Vue.js 3? TanStack Query can be your superhero (at least worked well for me)

Say goodbye to messy fetch calls and hello to elegant data management. #Vuejs #TanStackQuery
March 28, 2025 at 9:00 AM
Are there any #React folks out there using #ReactRouter loaders/actions together with #TanStackQuery in a SPA?

In particular, it's a bit unclear to me when I should be using loaders and when I should stick the useQuery?

Also, where to store the auth token now so I can use it in both places?
March 18, 2025 at 6:26 AM
Just want to say:
I love using Suspense + TanstackQuery
February 21, 2025 at 5:22 PM
🎙️ In case you missed @tkdodo.eu's talk “React Query - The Bad Parts” at @reactdayberlin.gitnation.org, he recently uploaded the slides and transcript of his talk.

Definitely worth a read!👇

🔗 tkdodo.eu/blog/react-q...

#ReactQuery #TanstackQuery #react
February 18, 2025 at 8:54 AM
just tried TanStackQuery for the first time.
"what's this palm tree doing here?"
*clicks palm tree*
"whaaaaaaaaaaaaaaat"
February 4, 2025 at 4:26 AM
8/ Understanding these defaults helps you get the most out of TanStack Query. Adjust them as your app's needs evolve, and enjoy the power of a performant, feature-rich querying library! 🚀

📖 Learn more: tanstack.com/query/latest...

#ReactJS #TanStackQuery
Important Defaults | TanStack Query React Docs
Out of the box, TanStack Query is configured with aggressive but sane defaults. Sometimes these defaults can catch new users off guard or make learning/debugging difficult if they are unknown by the u...
tanstack.com
January 16, 2025 at 8:32 AM
I <3 TanstackQuery (react lib). It’s one of the few libraries that’s A) not a tiny utility and B) I love pretty much whole-heartedly.

Today I was able to solve a coworker’s data-fetching problem with a one-line config change because TQ has anticipated nearly every issue you could come across.
December 20, 2024 at 1:20 AM
I tend to use 2.
If there are common objects that need to be passed around I would rather rely on the child component to use a custom hook to get it itself.
In this case all I need to pass down is the ID.
TanstackQuery will make sure I don't fetch stuff twice.
December 6, 2024 at 9:04 AM
Finally upgrading to TanstackQuery v5, I regret not using the correct syntaxes to begin with 🥲
November 27, 2024 at 10:30 AM
週末でtRPCでfetchする流れを理解した。次はこれにTanstackQueryを噛ませたい、クライアントサイドでしか使ったことない…
November 24, 2024 at 11:42 AM
J'ai compris mais donne un exemple de state que je pourrais avoir dans mon app, et je te dirais où jle met.

Chez moi c'est soit dans l'URL, soit dans tanstackquery, soit dans un contexte car général (auth etc), soit géré en interne dans ma lib de composants.
November 18, 2024 at 6:14 PM
Currently loving my tech stack: Svelte 5 with SvelteKit, self-hosted Supabase on Hetzner, Tailwind CSS, DaisyUI, ShadCN, tRPC, and TanStack Query

It’s the perfect setup for building powerful apps quickly and efficiently! 🚀
#Svelte #SvelteKit #Supabase #TailwindCSS #tRPC #TanStackQuery #WebDev
November 1, 2024 at 9:45 PM
TanstackQuery v5へマイグレーションの機運。。。
tanstack.com/query/latest...
Migrating to TanStack Query v5 | TanStack Query React Docs
Breaking Changes v5 is a major version, so there are some breaking changes to be aware of:
tanstack.com
September 18, 2024 at 3:06 PM
TanstackQuery の九九の部分
April 2, 2024 at 12:10 AM
SWRからTanstackQueryへの載せ替えを検討してる
github.com/cuculus-dev/...
March 8, 2024 at 9:47 AM
#うひーメモ
2023-11-29 00:05:56
Tanstack Query の useQuery を自作してみた
#Program
#tanstackquery
#invalidate
#querykey
Tanstack Query の useQuery を自作してみた
行でまとめるとtanstackよく分からなかったから自作してみたよquerykey・retryなど基本機能は作ったけどstaleTime・invalidateなどは作っていな
qiita.com
November 28, 2023 at 3:05 PM