Ask HN: Does Claude Code remove the need for so many front-end frameworks?

Does using claude code make you more/less likely to use front end frameworks?

I've been using it for a while to develop internal tools and I've been really impressed at how you can build complex applications with just pure HTML/CSS/JS

Previously I'd use React but now its not as clear to me the reason I would do that since either way I would just be developing through Claude.

It feels almost like the framework is just an implementation detail.

I find myself using a lot less libraries in general as well.

It kind of gives you a bit of NIH syndrome since the time cost is so low to roll your own sometimes.

7 points | by ex-aws-dude 19 hours ago

11 comments

  • gigatree 42 minutes ago
    Like Rich Harris said in a Svelte talk once: “frameworks are for organizing your mind”. As far as I can tell, the same is true for LLMs
  • sibidharan 8 hours ago
    It's been like this all along! We can write complex applications with HTML/CSS/Vanilla JS... But then.. React happened! UI rendering JS is bad - thats just my opinion. If server can render HTML and serve, whats better than that? Its ok for apps where browser is the source of truth like Figma, Google Sheets.. But using React for everything ... that is overkill. Most apps has server as the source of truth, data lives in server, and it can generate HTML right there.. No need for JSON+Hydrate, which is unnecessary- because server can generate HTML, the browser can understand HTML... Virtual DOM makes React Fast, not our apps fast..

    AI didn't eliminate the need for frameworks.. It just picks the right one for the Job.. when plain HTML is ok, it chooses plain HTML.

  • RockieYang 8 hours ago
    I started using my own frontend framework from 2022. It is a simple jsx based, directly DOM modification, in just about 3k lines of code inspired from React/Solid/Vue.

    Have try various approach since Claude Code came out. It works well in any of the styles vanilla, React, Vue for simple pages. So for simple one page demo, I mostly just ask to use vanilla style. Because it can be fully self contained in one file and just be opened without any external steps.

    While once it across certain complexity level and some manual change needed. It is super hard with pure vanilla style, due to so many procedure code.

    So I usually just prompt to generate using my own framework with a distilled skill. I then change a bit to make it simpler and follow my own style.

  • bubbamack 17 hours ago
    It really depends on what you are building. I remember asking a Jr Dev to put up a simple static website of just a few pages and they were getting lost in react. Being an OG dev, I had to show them how to get it done faster and in a more lightweight manner with plain HTML, javascript and CSS. It was a simple site but the dev didn't know better cuz everything was done in react at the code camp they went to.

    Conversely, I had Claude build a webapp for internal purposes to help translate some content we were creating. It was done in HTML, JS and tailwind with no framework. After a while, I could see that the jank it kept adding would be a problem so I had Claude refactor it using sveltekit.

  • Datahenge 16 hours ago
    I don't feel AI assisted coding has removed the need for framework adoption.

    Instead, I feel it's enabled us to more freely choose what frontend framework(s) we want to implement. Based on the problem we're trying to solve.

    There's only so much that 1 human can become an expert at. Before AI assistants, we had to make some choices: I cannot become an expert at React, Vue, Angular, Svelte, SolidJS, Quik, and Astro/Alpine/HTMX simultaneously. Too much. So I must pick one or two that I think are best-suited for me. Learn them deeply. Then apply them everywhere.

    With AI assistants, there's more freedom. I'm not an expert at Svelte. But if there's a web problem I feel Svelte would solve best? Then that's what I can use. If I really need React's virtual DOM? Then go that direction. If what I'm building is so simple that a static website with basic HTML and JS and a CSS framework is sufficient? I can go that direction.

    Granted, there are absolutely risks for relying on AI assistants to write code you don't comprehend or understand. There are times I'm okay with it. And times I am not.

    But as for your question, am I less-likely to use frontend frameworks now? No, I'm actually using them more than I did previously. I'm just being choosier about what I truly need, versus what's overkill.

  • austin-cheney 7 hours ago
    Maybe. Frameworks and abstractions whether jquery or JSX are more about comfort of the person than actually solving a real technology problem. That said, when you hope for something like Claude to replace so many front end frameworks that implicitly means replacing so many people at such variant levels of confidence.
  • razorson 4 hours ago
    Don't think so, I've got better results when I use a framework, specially with svelte
  • rhysha 9 hours ago
    Same tbh, but perf and UX still bite you eventually. frameworks aren't dead just.. delayed
  • greenchair 18 hours ago
    yes
  • vancekai 10 hours ago
    [flagged]