<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>flat-face</author_name>
  <author_url>https://blog.hatena.ne.jp/flat-face/</author_url>
  <blog_title>ABEJA Tech Blog</blog_title>
  <blog_url>https://tech-blog.abeja.asia/</blog_url>
  <categories>
    <anon>フロントエンド</anon>
  </categories>
  <description>はじめに 方針 具体例 作るもの ドメインロジック（クラススタイル） reducer（クラススタイル） コンポーネント上での値の更新（クラススタイル） ドメインロジック（関数スタイル） reducer（関数スタイル） コンポーネント上での値の更新（関数スタイル） 思考実験を通して感じたこと クラススタイルと関数スタイルの違い ドメインロジックの凝集 UIロジックの凝集 コンポーネントの役割 最後に 参考：コード全文 はじめに プラットフォームアプリケーショングループで開発を担当している平原です。 Next.jsのフロントエンドの開発を行っているときに、 複雑化してきたことでバグが出やすくなって…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech-blog.abeja.asia%2Fentry%2Ffrontend-logic-refactor-202510&quot; title=&quot;【リファクタリング】フロントエンドのロジックを凝集して、UIコンポーネントから切り離してみた - ABEJA 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>https://cdn-ak.f.st-hatena.com/images/fotolife/m/michiaki_ogawa/20251022/20251022234546.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-10-24 12:00:00</published>
  <title>【リファクタリング】フロントエンドのロジックを凝集して、UIコンポーネントから切り離してみた</title>
  <type>rich</type>
  <url>https://tech-blog.abeja.asia/entry/frontend-logic-refactor-202510</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
