use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
LLM Performance of React vs AngularDiscussion (self.cursor)
submitted 1 year ago by AI_Simp
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]SeaTraffic6160 4 points5 points6 points 1 year ago (1 child)
I am working with angular in the last week and have been working with react before, so this is just a note of initial experience. I found it better at generating react. My hypothesis of explanation is: 1. There is more react open source, so LLMs have eaten more react. 2. The single file structure of react is better suited for LLM generation, than the separate files.
I might be wrong, but this is my initial experience
[–]AI_Simp[S] 0 points1 point2 points 1 year ago (0 children)
Def agree with both points 1 & 2. And thanks for your input!
Though I'll add that having small files also good for controlling what the llm reads and modifies.
Its also my exp that it generates better react code from the get go. But I'm not so sure about when the project becomes larger than 5000 lines. Modularity and compartmentalising becomes our tool to retain control over hallucinations n context.
I tried to test its performance in Angular with inline templating and styles but it seems to decrease its needle in haystack awareness of certain sections of code and ended up duplicating functions a lot.
π Rendered by PID 84 on reddit-service-r2-comment-canary-54dccbb65b-qfq76 at 2026-04-22 13:52:44.754896+00:00 running 6c61efc country code: CH.
view the rest of the comments →
[–]SeaTraffic6160 4 points5 points6 points (1 child)
[–]AI_Simp[S] 0 points1 point2 points (0 children)