DEV Community

Cover image for Your AI Assistant Is a React Fanboy and You Should Be Worried
Karol Modelski
Karol Modelski

Posted on • Originally published at Medium

Your AI Assistant Is a React Fanboy and You Should Be Worried

Ask most AI coding tools to “build me a web app” and watch what happens.

Nine times out of ten, you’ll get:

  • React,
  • Next.js,
  • Tailwind,
  • maybe a sprinkle of popular auth and UI libraries.

No context.

No questions about your team.

No questions about your constraints.

Just React‑by‑default.

If you listen to AI long enough, you could easily conclude:

  • React is obviously the “right” choice,
  • Next.js is obviously the framework for everything,
  • Angular is for… nobody, apparently.

AI doesn’t pick stacks based on your reality. It picks stacks based on its training data — and that’s not the same thing.


Why AI Tools Keep Recommending React and Next.js

This isn’t a conspiracy.

It’s a side effect of how these models learn and how AI builders integrate frameworks.

A few reasons:

  • Training data dominance

    Public React and Next.js codebases, tutorials, templates, and snippets massively outnumber public Angular projects.

    Many Angular apps live in closed enterprise repos, so models simply see less Angular.

  • Tool vendor choices

    Firebase Studio, no‑code builders, AI prototyping tools — many officially support Next.js as their first or only framework and plan to “add others later.”

    That means AI integrations, examples, and docs are tailored for that stack.

  • AI optimization efforts

    Some companies are literally optimizing React/Next.js code for AI use, publishing curated “best practices” repos tuned for model consumption.

  • Ecosystem momentum

    AI‑friendly tutorials, AI‑generated starter kits, and vibe‑coding demos on YouTube skew heavily toward React + Next.js.

So when you throw a vague prompt like:

Build a SaaS dashboard with user auth, billing, and admin controls

into an AI assistant, the model defaults to the pattern it has seen the most:

React + Next.js. Not because your problem needs it — because the internet is full of it.

AI isn’t your architect. It’s a statistical mirror of what everyone else already did — mostly with React.


When Letting AI Choose Your Stack Actively Hurts You

For small demos or personal projects, React/Next.js as a default is fine.

For serious systems, blindly following AI’s bias can backfire hard.

Examples of where this goes wrong:

  • Your team is mostly Angular or .NET people

    The AI happily scaffolds a React/Next.js app because it looks “modern.”

    Now your entire team has to:

     — learn a new mental model,

     — rebuild internal patterns,

     — juggle two ecosystems.

  • You’re building a long‑lived enterprise product

    React’s flexibility is great short‑term. Long‑term, it demands discipline, conventions, and extra libraries to get the “framework” behavior Angular gives you out of the box.

    AI doesn’t know how disciplined your team is.

  • You need consistency across multiple teams and services

    Angular’s opinionated structure often makes multi‑team maintenance easier over years. React’s “assemble your own framework” dynamic amplifies inconsistency when different squads pull in different stacks and patterns.

Yet AI will almost never ask you:

  • “How many teams will work on this?”
  • “What’s your current stack?”
  • “Who will maintain this in 3–5 years?”

It just picks the thing it has been trained to spit out confidently.

Letting AI choose React for your team because ‘that’s what it generated’ is like letting Google autocomplete decide your system architecture.


The New Villain: AI Bias in Tech Stack Selection

The Angular vs React fight is old.

The new villain is the invisible bias sitting inside AI tools.

We’re already seeing developers point out that:

  • AI agents tend to “suck with Angular”  — they hallucinate APIs, ignore DI, and fight the framework instead of using it correctly.
  • React and Next.js feel “more AI‑friendly” because models have more examples and clearer integration paths.
  • People gravitate toward stacks where AI “feels better,” even if it’s not better for their project.

This creates a loop:

  1. AI works better with React/Next.js →
  2. More people choose React/Next.js because AI feels smoother →
  3. More React/Next.js code goes into training data →
  4. AI becomes even more biased toward React/Next.js.

Angular gets squeezed out of AI’s “comfort zone,” despite remaining incredibly strong in exactly the kinds of systems AI is bad at reasoning about: long‑lived, multi‑team, enterprise apps.

The danger isn’t that React wins. It’s that AI quietly removes Angular from the menu before the humans even sit down.


“Most Popular” Is Not the Same as “Most Productive for You”

Stack Overflow surveys and GitHub stars show React still leads in usage.

But that does not automatically mean:

  • React is the most productive for your team,
  • React is the best choice for your domain,
  • React + Next.js is the right default for AI-assisted development in every case.

Developers with experience in both stacks keep reporting:

  • Angular is often easier to maintain long‑term when teams and requirements change, because it gives you structure and consistency.
  • React is often nicer to write in for small to medium projects, especially for solo devs or startups.

For AI‑heavy frontends:

  • React has more AI‑tailored component libraries and examples , especially for chat UIs and dashboards.
  • Angular offers better enterprise integration , type safety, and form handling for complex, bureaucratic systems.

The key point:

AI is biased toward what is most common and most explicitly optimized for it, not what fits your team and your business.

If you confuse ‘most popular in the training data’ with ‘most productive for my context,’ you’re letting statistics, not strategy, run your stack.


Why I Would Still Return to Angular After AI Pushes Next.js

AI tools love Next.js as the “structured React default.”

For a lot of quick prototypes and SaaS frontends, that makes sense.

But if:

  • the project will live 5+ years,
  • multiple teams will touch it,
  • you care about strict types, form complexity, and consistency,

there are still many cases where I would actively steer back to Angular — even if AI keeps demoing Next.js.

Reasons:

  • Opinionated architecture

     — less “choose your own adventure” in folders, state, routing, and DI,

     — easier onboarding when devs come and go.

  • Enterprise alignment

     — Angular’s model aligns with how a lot of larger organizations actually work — modules, teams, domains, shared libraries.

  • Consistency over time

     — fewer wild swings in patterns every six months,

     — less chance of a Frankenstack assembled from every hot React meta‑framework.

Does that mean Angular is “objectively better”?

No.

It means AI’s default suggestion is not a substitute for thinking about the lifecycle of your system.

AI can scaffold your first month. It doesn’t have to live with your third year.


How to Use AI Without Letting It Pick Your Stack for You

You don’t need to fight AI.

You just need to move stack selection back where it belongs: human judgment.

Practical steps:

1. Decide the stack before you touch AI

Start from constraints:

  • team skills,
  • existing systems,
  • lifespan of the project,
  • regulatory and scalability needs.

Pick a stack from that, then tell AI:

We are using Angular here. Follow Angular best practices and do not switch frameworks.

or:

This company is a React shop. Use React, not Next.js, unless I explicitly ask.

2. Be explicit about “no stack switching”

AI assistants will happily suggest migrations:

  • “We could move this to Next.js for better SEO.”
  • “Let’s use this React library; it’s more popular.”

Shut that down early:

  • “Do not propose changing the main framework. Work within Angular.”
  • “Respect the existing tech stack; no rewrites unless explicitly requested.”

3. Feed it your own patterns

If you want AI to be less React‑biased:

  • give it Angular examples from your codebase,
  • show it your module, state, and component conventions,
  • ask it to follow those patterns.

You’re not going to overpower global training data, but you can tilt its answers toward your reality.

4. Separate “AI for scaffolding” from “AI for architecture”

Use AI for:

  • components,
  • forms,
  • tests,
  • boilerplate.

Do not outsource:

  • domain modeling,
  • system boundaries,
  • long‑term architecture choices.

AI should fill in code inside a decision, not make the decision for you.


The Real Takeaway: AI Reflects the Crowd, Not What’s Right

AI is not secretly on React’s payroll.

It is doing exactly what it was designed to do:

  • approximate the most likely answer,
  • based on the data it has seen the most.

Right now, that means:

  • React and Next.js for most “build me an app” prompts,
  • Angular often underrepresented despite its strength in enterprise.

If you know this and act accordingly:

  • AI becomes a useful power tool inside whatever stack you intentionally choose.

If you don’t:

  • AI becomes a quiet, persuasive force pushing every problem toward the same default stack — whether it fits or not.

Your AI assistant is a React fanboy by training. Your job is to be the adult in the room who knows when that bias is helping you and when it’s quietly wrecking your architecture.


I fix the Angular apps that generalists break.

I’m Karol Modelski, senior Angular developer and frontend architect rescuing legacy B2B SaaS frontends.

If your Angular app is slowing your team down, start with a 3‑minute teardown of your current setup: https://www.karol-modelski.scale-sail.io/

Top comments (0)