<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Thoames1212</author_name>
  <author_url>https://blog.hatena.ne.jp/Thoames1212/</author_url>
  <blog_title>とーますメモ</blog_title>
  <blog_url>https://thoames.hatenadiary.jp/</blog_url>
  <categories>
    <anon>TypeScript</anon>
    <anon>React</anon>
    <anon>Apollo</anon>
    <anon>Next.js</anon>
  </categories>
  <description>ちょっとハマったので、自分のメモ用。以下のissueにかかれていたことを元にして解決。 github.com上記の内容をカスタムフックにラップすればOK const { loading, data, error } = useQuery(SOME_QUERY) const [state, setState] = React.useState([]) React.useEffect(() =&gt; { // do some checking here to ensure data exist if (data) { // mutate data if you need to setState(dat…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthoames.hatenadiary.jp%2Fentry%2F2022%2F10%2F17%2F052831&quot; title=&quot;【Next.js】Apollo Queryの返り値を元に、新しいデータを非同期で取得する場合 - とーますメモ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-10-17 05:28:31</published>
  <title>【Next.js】Apollo Queryの返り値を元に、新しいデータを非同期で取得する場合</title>
  <type>rich</type>
  <url>https://thoames.hatenadiary.jp/entry/2022/10/17/052831</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
