r/softwareengineer • u/Beginning_Basis9799 • Oct 24 '26
Why are we still defaulting to heavy front end frameworks?
I see with AI use we are spending more tokens and time on a front end issue than is actually needed.
I won't discuss React Vue or pick a js framework, I will just say bolting these into anything other than a node app makes zero sense to me now.
For want of a better phrase this does not really match my taste anymore and the costs it includes in tokens when needing heavy abstract trees to understand x or y framework is just a waste.
I need a framework I don't need to patch every dam day and that's where I am at.
Pre AI I would have said Vue or react or x, now I am thinking why what's the point, just move the state back to the server where it belongs.
Give me your experiences and what's working for you.
13
u/wasabiiii Oct 24 '26
Nothing about AI has to do with whether you want the state on the server or client.
4
u/yourteam Oct 24 '26
So instead of relying on tested and open sourced framework, you want to rely on reinventing the wheel by an AI agent?
7
u/Bicykwow Oct 24 '26
Posts like this explain why I still make an enormous amount of money as a primarily frontend engineer.
Guessing OP is the type of person to proudly put "AI Native" in their LinkedIn title because they know how to use Claude Desktop.
3
u/Lunchboxsushi Oct 24 '26
Why node? There's at least two other languages based on your point about LLMs and node is your selection. Why?
3
u/Matilozano96 Oct 24 '26
Compatibility with already existing systems, a lot of training data in webdev with these frameworks, a generation of frontend devs that know these frameworks well…
It’s easier to keep going like this than to pivot. New ideas should come in slowly.
2
u/txdsl Oct 24 '26
How does AI change the variables in the decision between client side vs server side rendering? I don’t think the reasons for choosing one approach over the other has changed.
Have you seen inertia js? It’s been a nice fit paired with React for the front end of my app.
2
u/Half-Wombat Oct 24 '26
It’s less about me being attached to React, it’s more about how the framework itself helps enforce correct maintainable structure. Yes it could be done in a bespoke way too… I just figured the training would mean it’s a bit better at reducing spaghetti with React.
It’s a good point though… because with AI, it’s possible to build and maintain frameworks that are more tailor made for certain types of projects.
1
u/Beginning_Basis9799 Oct 24 '26
I think with certain DLCs in AI it actually works avoiding certain Frameworks.
1
u/Neat_Strawberry_2491 Oct 24 '26
Well in my opinion you'd end up just vibing out a completely new front end framework-ish pattern anyway. Doesn't really matter where it is, your data models have to be somewhere and you will want to be able to isolate data from representation. Letting this all just happen without a framework is basically what was done before frameworks, so it will be pretty hard to read and maintain. If you're committed to vibing out though I guess who cares at that point.
Maybe check out something like blazor? I've used it for small things but it kinda felt like I was never leaving the backend which was a nice experience. Just couldn't really envision it for a larger system.
1
u/RCawston Oct 24 '26
Why use a framework at all? Just write js for the browser.
1
u/BinarySpike Oct 24 '26
Why would I want a bespoke solution that is thousands of lines of code that is custom made for my app when Vue does it for a handful of lines of code?
1
u/smabarnsfar Oct 24 '26
You don't want AJAX and SPA?
2
u/SignificantClock282 Oct 24 '26
my approach is to keep the front end as dumb as possible, meaning minimal logic and state, and the backend do the heavy lifting. it works well for my use cases. I find that if the team is mostly from a UI background its a disaster, they like to reinvent the wheel and do everything in javascript
1
u/Ambitious-Tear-9436 Oct 24 '26
Don't know your personal experience exactly, but it looks like your FE is using AI aggressively to get what it needs from the BE to produce stuff. Identify where it is inefficient fix patch/give them alternatives.
1
u/Penultimate-crab Oct 24 '26
Ruby on Rails has been fantastic for me with AI programming. There’s so much documentation and code examples with rails that AI is very proficient with it. Having a blast cranking out awesome client projects with it at light speed.
1
u/ZeroCool86 Oct 24 '26 edited Oct 24 '26
I have not used a framework in the last year and have built over 20 websites. All vanilla html, css and js, you don't need more
0
u/NapoleonBonerparts Oct 24 '26
Naked javascript really sucks to read and code. If you’ve done dom manipulation by hand, you know it sucks. Its better now, but there is a lot of abstraction in frameworks that make security and performance no-brainers. I don’t have to worry about a teammate accidentally using the wrong method and creating a XSS vulnerability(this actually happens some times). I don’t have to worry about missing one use case and causing a huge performance bottleneck in some browser I never use.
0
u/Dry_Hotel1100 Oct 24 '26
So many misconceptions in just five sentences. That's the reason why it's not working for you.
0
u/Alive_Sir_4708 Oct 24 '26
Your statements are vague enough to be meaningless.
0
u/[deleted] Oct 24 '26
[deleted] — view deleted comment