<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kuronekopunk</author_name>
  <author_url>https://blog.hatena.ne.jp/kuronekopunk/</author_url>
  <blog_title>ノンカフェインであなたにやさしい</blog_title>
  <blog_url>https://akinobu.net/</blog_url>
  <categories>
    <anon>javascript</anon>
  </categories>
  <description>郵便番号から住所を自動入力するZipaddrx zipaddr.com Jsを呼んでおけば勝手に動いてくれるんですがReactを使っていてonload以外のタイミングで動かしたくなったのでその時の対処法です。 任意のタイミングで初期化 Zip.x(); これだけ ReactでZipaddrを使う方法 コンポーネントがマウントされたタイミング(componentDidUpdate)で Zip.x() を実行します。 ~~~ componentDidUpdate(prevProps, prevState) { Zip.x(); }, ~~~ これだけだとフォームの内容がstateに入っていないため…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakinobu.net%2Fentry%2F2017%2F04%2F29%2F190154&quot; title=&quot;郵便番号から住所を自動入力するZipaddrxを任意のタイミングで動かす[Js,React] - ノンカフェインであなたにやさしい&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>2017-04-29 19:01:54</published>
  <title>郵便番号から住所を自動入力するZipaddrxを任意のタイミングで動かす[Js,React]</title>
  <type>rich</type>
  <url>https://akinobu.net/entry/2017/04/29/190154</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
