React example viability for efficient API learning (REVEAL): A tool to help programmers utilize incompatible code examples in React.js

  • John Allen
  • , Caitlin Kelleher

Research output: Contribution to journalArticlepeer-review

Abstract

Programmers typically learn APIs on-the-fly through web examples. Incompatibilities and omissions in copied example code can create barriers for these learners. We present an analysis of example usage barriers programmers faced in a previous study of React.js novices. We show that a small set of errors prevented programmers from using most found code examples. In response, we built REVEAL to detect and repair the common errors we identified in copied code. We describe the formative evaluation of REVEAL and show that REVEAL users were more likely to successfully integrate code examples than participants in the previous study.

Original languageEnglish
Article number101201
JournalJournal of Computer Languages
Volume75
DOIs
StatePublished - Jun 2023

Keywords

  • API learning
  • API tools
  • APIs
  • Just-in-time learning
  • Opportunistic programming
  • Programming

Fingerprint

Dive into the research topics of 'React example viability for efficient API learning (REVEAL): A tool to help programmers utilize incompatible code examples in React.js'. Together they form a unique fingerprint.

Cite this