<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/we-chose-react-to-learn-it-the-ai-wrote-it-for-us--f4wiwrbv2" -->

---
title: We chose React to learn it. The AI wrote it for us.
description: A six-person R-focused team chose React over R/HTMX in February to build a staffing tool, deliberately accepting double the development time as an investment...
canonical: https://daily.dev/posts/we-chose-react-to-learn-it-the-ai-wrote-it-for-us--f4wiwrbv2
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: We chose React to learn it. The AI wrote it for us. | daily.dev
og:description: A six-person R-focused team chose React over R/HTMX in February to build a staffing tool, deliberately accepting double the development time as an investment...
og:url: https://daily.dev/posts/we-chose-react-to-learn-it-the-ai-wrote-it-for-us--f4wiwrbv2
og:image: https://api.daily.dev/og/posts/f4wIWrbv2.png
og:image:alt: We chose React to learn it. The AI wrote it for us.
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# We chose React to learn it. The AI wrote it for us.

**[R-bloggers](https://daily.dev/sources/rbloggers)** · 11 min read · 2 upvotes · 0 comments

## Summary

A six-person R-focused team chose React over R/HTMX in February to build a staffing tool, deliberately accepting double the development time as an investment in learning modern frontend skills. Four months later, after two milestones shipped, they reversed course and returned to R. Three factors drove the reversal: two new R packages (htmxr and alpiner) closed the interactivity gap that had justified React; two of the original decision criteria turned out to be false or wrong (no drag-and-drop was actually needed, and 'transferability' was the wrong metric for a company whose business is R); and most critically, the developer never had time to read the AI-generated React code, so the promised skill-building never happened. The rewrite back to R cost six to eight half-days versus eight to ten to finish in React, and delivered an unplanned bonus: a much higher test coverage ratio (0.26 to 0.77) because the R-only stack could be tested without a browser. The key takeaway is that decisions justified by non-technical benefits like learning need a scheduled checkpoint to verify the benefit is actually materializing.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.r-bloggers.com/2026/09/we-chose-react-to-learn-it-the-ai-wrote-it-for-us>

## Questions this post answers

### Can using an AI coding assistant actually prevent developers from learning a new framework like React?

Yes, one team found that using AI to generate React code prevented the intended learning outcome entirely, because the developer never had time to read the AI-generated code before more was produced. The team had deliberately chosen React over their familiar R stack specifically to build frontend skills, but four months in, that skills objective was not being met, since code arrived faster than it could be understood.

_Teams weighing AI-assisted learning tradeoffs can follow real decision postmortems like this on daily.dev._

### What are the R packages htmxr and alpiner used for?

Htmxr and alpiner are R packages that provide high-level R abstractions over HTMX, letting developers build interactive web interfaces in raw R without hand-writing HTML and HTMX attributes. Alpiner specifically supports interactions like lasso selection natively, closing a rich-interactivity gap that previously made a React-based frontend seem necessary for a project.

_Developers comparing R web frameworks against JavaScript stacks can track ecosystem shifts like this via daily.dev._

## Similar posts on daily.dev

- [After 8 Years of Building With React, I Started My Last Project Without It](https://daily.dev/posts/after-8-years-of-building-with-react-i-started-my-last-project-without-it-niszlr77n) · Medium · 34 upvotes · 9 comments
- [I Stopped Writing Code for a Week. This Is What Happened](https://daily.dev/posts/i-stopped-writing-code-for-a-week-this-is-what-happened-olpigpdd0) · Code Like A Girl · 2 upvotes · 0 comments
- [Using AI to Migrate from Lit to React](https://daily.dev/posts/using-ai-to-migrate-from-lit-to-react-ydipy0nml) · Viget · 2 upvotes · 0 comments

---

Tags: [#react](https://daily.dev/tags/react), [#r](https://daily.dev/tags/r), [#ai-coding](https://daily.dev/tags/ai-coding)

[View this post on daily.dev](https://daily.dev/posts/we-chose-react-to-learn-it-the-ai-wrote-it-for-us--f4wiwrbv2)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"We chose React to learn it. The AI wrote it for us.","url":"https://daily.dev/posts/we-chose-react-to-learn-it-the-ai-wrote-it-for-us--f4wiwrbv2","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/we-chose-react-to-learn-it-the-ai-wrote-it-for-us--f4wiwrbv2"},"datePublished":"2026-09-22T21:38:39.608Z","dateModified":"2026-09-22T21:39:02.824Z","description":"A six-person R-focused team chose React over R/HTMX in February to build a staffing tool, deliberately accepting double the development time as an investment...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8845083a426af64548970c09df88b584?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8845083a426af64548970c09df88b584?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"R-bloggers","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"R-bloggers","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/98bcbbdf72774292a55ceda8f2277f1e","url":"https://daily.dev/sources/rbloggers"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/we-chose-react-to-learn-it-the-ai-wrote-it-for-us--f4wiwrbv2","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"react,r,ai-coding","timeRequired":"PT11M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"R-bloggers","item":"https://daily.dev/sources/rbloggers"},{"@type":"ListItem","position":3,"name":"We chose React to learn it. The AI wrote it for us."}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/we-chose-react-to-learn-it-the-ai-wrote-it-for-us--f4wiwrbv2#faq","mainEntity":[{"@type":"Question","name":"Can using an AI coding assistant actually prevent developers from learning a new framework like React?","acceptedAnswer":{"@type":"Answer","text":"Yes, one team found that using AI to generate React code prevented the intended learning outcome entirely, because the developer never had time to read the AI-generated code before more was produced. The team had deliberately chosen React over their familiar R stack specifically to build frontend skills, but four months in, that skills objective was not being met, since code arrived faster than it could be understood. Teams weighing AI-assisted learning tradeoffs can follow real decision postmortems like this on daily.dev."}},{"@type":"Question","name":"What are the R packages htmxr and alpiner used for?","acceptedAnswer":{"@type":"Answer","text":"Htmxr and alpiner are R packages that provide high-level R abstractions over HTMX, letting developers build interactive web interfaces in raw R without hand-writing HTML and HTMX attributes. Alpiner specifically supports interactions like lasso selection natively, closing a rich-interactivity gap that previously made a React-based frontend seem necessary for a project. Developers comparing R web frameworks against JavaScript stacks can track ecosystem shifts like this via daily.dev."}}]}
```

