Replication package for "Refactoring React Component Hierarchies to Eliminate Prop Drilling"
ReactRefactor: Replication package Refactoring tool and replication package for the empirical study presented in:: Refactoring React Component Hierarchies to eliminate Prop Drilling Vangelis Gkinis, Vassilis E. Zafeiris Submitted to the Journal of Systems and Software . Arxiv preprint: https://arxiv.org/abs/2610.01376 Overview ReactRefactor is a static analysis tool that identifies refactoring opportunities related to Prop Drilling in React projects. It analyzes a React codebase and recovers component declarations, their properties and parent-child dependencies in the render tree that can be statically inferred from the returned JSX of each component. Moreover, it captures the flow of data due to prop passings and identifies Prop Drillings and their features (e.g. forwarded properties). In non interactive mode, ReactRefactor lists all identified Prop Drillings of a given codebase and suggests applicable strategies for their refactoring, i.g. employment of the Context API or Component Composition. Requirements Software requirements for running the replication package is a bash shell and a Node.js runtime: Node.js >= 22 Installation Clone the repository: git clone https://github.com/Vginis/ReactRefactor cd ReactRefactor Build the tool: npm install Usage Run ReactRefactor with the following command: node index.js --project <REACT-APP-SRC-DIR> --root <PATH-TO-A-ROOT-COMPONENT> Example: node index.js --project ./react-project/app/src --root ./react-project/app/src/main.jsx Reproducing the Paper Results The repository contains the artifacts required to reproduce the experimental evaluation reported in the paper: Refactoring Refactoring React Component Hierarchies to eliminate Prop Drilling The replication package is located in the study/ directory.
- Link
- https://zenodo.org/records/23098328
- Found by
- Zenodo
- Authors
- Gkinis, Vangelis, Zafeiris, Vassilis
- Categories
- evaluation
- Published
- 2026-10-02
- Last seen by the radar
- 2026-10-02
- Downloads
- 0
- Views
- 0
- Radar score
- 34.33 / 100 (how it is scored)
- Why it scored so
- Matched: evaluat; Recency discount: updated event ×0.5; Primary record: Zenodo
- Related links
- https://doi.org/10.5281/zenodo.23098328