<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dackdive</author_name>
  <author_url>https://blog.hatena.ne.jp/dackdive/</author_url>
  <blog_title>dackdive's blog</blog_title>
  <blog_url>https://dackdive.hateblo.jp/</blog_url>
  <categories>
    <anon>Frontend</anon>
  </categories>
  <description>メモ。 なんの話か React でフォーム項目を簡潔に書く方法がわからない 管理されたコンポーネントで書こうとすると、項目の数だけ state と対応するイベントハンドラが必要になる 親に渡す必要がある、とかだとさらにしんどい // 基本形 class MyFormCmp extends React.Component { constructor(props) { super(props); this.state = { name: '', }; this.onChangeName = this.onChangeName.bind(this); } onChangeName(e) { cons…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdackdive.hateblo.jp%2Fentry%2F2016%2F10%2F19%2F212824&quot; title=&quot;Reactでフォームの項目をどう扱うか問題 - dackdive&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/d/dackdive/20161019/20161019212542.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-10-19 21:28:24</published>
  <title>Reactでフォームの項目をどう扱うか問題</title>
  <type>rich</type>
  <url>https://dackdive.hateblo.jp/entry/2016/10/19/212824</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
