<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomoima525</author_name>
  <author_url>https://blog.hatena.ne.jp/tomoima525/</author_url>
  <blog_title>tomoima525's blog</blog_title>
  <blog_url>https://tomoima525.hatenablog.com/</blog_url>
  <categories>
    <anon>GraphQL</anon>
    <anon>Apollo</anon>
    <anon>React</anon>
    <anon>javascript</anon>
  </categories>
  <description>前回は、Apollo GraphQL における Mutation(トランザクション処理)の前提知識としてキャッシュ機構について説明しました。(記事はこちら) 今回は React Apollo(v2) における Mutation 後のキャッシュ更新処理について整理しつつ、どのパターンをどのユースケースで採用すべきかについてまとめてみました。 Mutation 後のキャッシュ更新処理 Mutation の返り値を使う(Optimistic UI/update) Refetch Subscription どう使いわけるか</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftomoima525.hatenablog.com%2Fentry%2F2019%2F08%2F06%2F164506&quot; title=&quot;Mutation 後のキャッシュ更新処理についての設計指針(GraphQL, Apollo) - tomoima525&amp;#39;s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/t/tomoima525/20190806/20190806163745.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-08-06 16:45:06</published>
  <title>Mutation 後のキャッシュ更新処理についての設計指針(GraphQL, Apollo)</title>
  <type>rich</type>
  <url>https://tomoima525.hatenablog.com/entry/2019/08/06/164506</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
