Research

Paper

AI LLM February 19, 2026

HookLens: Visual Analytics for Understanding React Hooks Structures

Authors

Suyeon Hwang, Minkyu Kweon, Jeongmin Rhee, Soohyun Lee, Seokhyeon Park, Seokweon Jung, Hyeon Jeon, Jinwook Seo

Abstract

Maintaining and refactoring React web applications is challenging, as React code often becomes complex due to its core API called Hooks. For example, Hooks often lead developers to create complex dependencies among components, making code behavior unpredictable and reducing maintainability, i.e., anti-patterns. To address this challenge, we present HookLens, an interactive visual analytics system that helps developers understand howHooks define dependencies and data flows between components. Informed by an iterative design process with experienced React developers, HookLens supports users to efficiently understand the structure and dependencies between components and to identify anti-patterns. A quantitative user study with 12 React developers demonstrates that HookLens significantly improves participants' accuracy in detecting anti-patterns compared to conventional code editors. Moreover, a comparative study with state-of-the-art LLM-based coding assistants confirms that these improvements even surpass the capabilities of such coding assistants on the same task.

Metadata

arXiv ID: 2602.17891
Provider: ARXIV
Primary Category: cs.HC
Published: 2026-02-19
Fetched: 2026-02-23 05:33

Related papers

Raw Data (Debug)
{
  "raw_xml": "<entry>\n    <id>http://arxiv.org/abs/2602.17891v1</id>\n    <title>HookLens: Visual Analytics for Understanding React Hooks Structures</title>\n    <updated>2026-02-19T23:11:39Z</updated>\n    <link href='https://arxiv.org/abs/2602.17891v1' rel='alternate' type='text/html'/>\n    <link href='https://arxiv.org/pdf/2602.17891v1' rel='related' title='pdf' type='application/pdf'/>\n    <summary>Maintaining and refactoring React web applications is challenging, as React code often becomes complex due to its core API called Hooks. For example, Hooks often lead developers to create complex dependencies among components, making code behavior unpredictable and reducing maintainability, i.e., anti-patterns. To address this challenge, we present HookLens, an interactive visual analytics system that helps developers understand howHooks define dependencies and data flows between components. Informed by an iterative design process with experienced React developers, HookLens supports users to efficiently understand the structure and dependencies between components and to identify anti-patterns. A quantitative user study with 12 React developers demonstrates that HookLens significantly improves participants' accuracy in detecting anti-patterns compared to conventional code editors. Moreover, a comparative study with state-of-the-art LLM-based coding assistants confirms that these improvements even surpass the capabilities of such coding assistants on the same task.</summary>\n    <category scheme='http://arxiv.org/schemas/atom' term='cs.HC'/>\n    <category scheme='http://arxiv.org/schemas/atom' term='cs.SE'/>\n    <published>2026-02-19T23:11:39Z</published>\n    <arxiv:comment>IEEE PacificVis 2026, conference track</arxiv:comment>\n    <arxiv:primary_category term='cs.HC'/>\n    <author>\n      <name>Suyeon Hwang</name>\n    </author>\n    <author>\n      <name>Minkyu Kweon</name>\n    </author>\n    <author>\n      <name>Jeongmin Rhee</name>\n    </author>\n    <author>\n      <name>Soohyun Lee</name>\n    </author>\n    <author>\n      <name>Seokhyeon Park</name>\n    </author>\n    <author>\n      <name>Seokweon Jung</name>\n    </author>\n    <author>\n      <name>Hyeon Jeon</name>\n    </author>\n    <author>\n      <name>Jinwook Seo</name>\n    </author>\n  </entry>"
}