{"blog_title":"\u30e1\u30e2\u7684\u306a\u601d\u8003\u7684\u306a","published":"2023-08-17 21:09:28","type":"rich","url":"https://thinkami.hatenablog.com/entry/2023/08/17/210928","height":"190","version":"1.0","title":"TanStack Query\u306e Query Key \u306b\u3064\u3044\u3066\u8abf\u3079\u3066\u307f\u305f","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthinkami.hatenablog.com%2Fentry%2F2023%2F08%2F17%2F210928\" title=\"TanStack Query\u306e Query Key \u306b\u3064\u3044\u3066\u8abf\u3079\u3066\u307f\u305f - \u30e1\u30e2\u7684\u306a\u601d\u8003\u7684\u306a\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":"https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png","author_name":"thinkAmi","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","categories":["React","TanStack Query"],"author_url":"https://blog.hatena.ne.jp/thinkAmi/","blog_url":"https://thinkami.hatenablog.com/","description":"TanStack Query\u306e useQuery \u3084 invalidateQueries \u3092\u4f7f\u3046\u3068\u304d\u306f Query Key \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002 Query Key\u3068\u306f\u306a\u306b\u304b\u3092\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u898b\u305f\u3068\u3053\u308d At its core, TanStack Query manages query caching for you based on query keys. Query keys have to be an Array at the top level, and can be as simple as an Array with a single string, or as complex as \u2026"}