<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hacomono-tech</author_name>
  <author_url>https://blog.hatena.ne.jp/hacomono-tech/</author_url>
  <blog_title>hacomono TECH BLOG</blog_title>
  <blog_url>https://techblog.hacomono.jp/</blog_url>
  <categories>
  </categories>
  <description>どーも、みゅーとんです はじめに モーダルを表示しているかを状態で示す際に isShow という変数名が使われていることに気づき, そこは isOpened であるべきだ, と指摘したことがあります。 一方, 調べてみると isOpen も一般的に使われていることがわかりました. 混乱したので, 命名規則の整理と共に, モーダルの開閉状態をどう命名するべきかをまとめてみます. TL;DR 文法的には isOpen isOpened どちらでもよい ニュアンスとして isOpen は “開かれているか”, isOpened は “何かのプロセスの結果開かれたか” モーダルが開いているか？の状態に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftechblog.hacomono.jp%2Fentry%2F2026%2F02%2F03%2F110000&quot; title=&quot;モーダルの開閉状態を示すプロパティ名は, isOpen か isOpened か - hacomono 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/h/hacomono-tech/20260202/20260202164016.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-02-03 11:00:00</published>
  <title>モーダルの開閉状態を示すプロパティ名は, isOpen か isOpened か</title>
  <type>rich</type>
  <url>https://techblog.hacomono.jp/entry/2026/02/03/110000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
