<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hisaichi5518</author_name>
  <author_url>https://blog.hatena.ne.jp/hisaichi5518/</author_url>
  <blog_title>パルカワ2</blog_title>
  <blog_url>https://hisaichi5518.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>最近、色んな文脈から呼び出され、色んな役割を持つ便利Widgetをどう分割するのがいいか考えていた。 Atomic Design使ったことないけど、原子と分子の考え方はいいなと思っていて、とにかく最初は小さいWidgetつまり原子のWidgetを用意しまくり、それらを使って分子としてWidgetを組み立てるのが良い気がする。 分子として組み立てるWidgetは文脈や役割毎にクラスを分けるようにするので良くて、文脈や役割毎に3回くらいコピペしたらそのコピペの共通項を探して共通化するのがよさそう。はじめから共通化しようとすると失敗する。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhisaichi5518.hatenablog.jp%2Fentry%2F2025%2F04%2F15%2F232711&quot; title=&quot;Widgetの分割 - パルカワ2&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>2025-04-15 23:27:11</published>
  <title>Widgetの分割</title>
  <type>rich</type>
  <url>https://hisaichi5518.hatenablog.jp/entry/2025/04/15/232711</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
