<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kogainotdan</author_name>
  <author_url>https://blog.hatena.ne.jp/kogainotdan/</author_url>
  <blog_title>Feedforce Developer Blog</blog_title>
  <blog_url>https://developer.feedforce.jp/</blog_url>
  <categories>
    <anon>JSON</anon>
    <anon>JavaScript</anon>
    <anon>React</anon>
  </categories>
  <description>JSON色付け係の小飼 id:kogainotdan です。 今回はJSON色付け係として、テスタブルなJSON色付け手法について書きたいと思います。 Reactのみの話です。 3行で windowを触るとテストが辛い ReactのContextを使うとDI出来る DI出来るとテストが簡単 課題 JSON色付け、と言うかGUI開発に限らず外部環境への依存性を持ったソフトウェアコンポーネントはテスト容易性を失いがちです。 中でもWebアプリケーションのフロントエンドでは、HTTPリクエストやTimer関連の処理、Client Side Storageへのアクセス、認可（OAuth）処理などがソフ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdeveloper.feedforce.jp%2Fentry%2F2019%2F10%2F30%2F093320&quot; title=&quot;ReactのContextをDI Containerとして使う - Feedforce Developer 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.user.blog.st-hatena.com/default_entry_og_image/116461321/1514251518718655</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-10-30 09:33:20</published>
  <title>ReactのContextをDI Containerとして使う</title>
  <type>rich</type>
  <url>https://developer.feedforce.jp/entry/2019/10/30/093320</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
