<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>riku929hr</author_name>
  <author_url>https://blog.hatena.ne.jp/riku929hr/</author_url>
  <blog_title>rikuto tech blog</blog_title>
  <blog_url>https://blog.riku929hr.com/</blog_url>
  <categories>
    <anon>Reactチュートリアル</anon>
    <anon>React</anon>
    <anon>TypeScript</anon>
  </categories>
  <description>前回の続きです。 いよいよ三目並べづくりに入ります。 インタラクティブなコードをつくる 盤面のマスをクリックするとXが現れるようにします。 はじめにSquareコンポーネントにstateを持たせます。 公式チュートリアルではこのように実装されています。 class Square extends React.Component { constructor(props) { super(props); this.state = { value: null, }; } render() { return ( &lt;button className=&quot;square&quot; onClick={() =&gt; aler…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.riku929hr.com%2Fentry%2F2021%2F07%2F04%2F003216&quot; title=&quot;React Tutorialを TypeScriptとHooksで書き直してみた③ - rikuto tech 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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-07-04 00:32:16</published>
  <title>React Tutorialを TypeScriptとHooksで書き直してみた③</title>
  <type>rich</type>
  <url>https://blog.riku929hr.com/entry/2021/07/04/003216</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
