▲ 116 r/Frontend

Frontend feels both easiest and hardest to hand over to AI agents

I’ll be honest, after trying different AI agents and all kinds of workflows, frontend feels like the easiest part to hand over to AI, but also the hardest part to actually perfect.

AI agents can usually build the UI, wire things up, follow instructions, and get something working pretty quickly. But there are almost always small to medium imperfections: spacing issues, inconsistent states, weird responsive behavior, slightly off interactions, unnecessary complexity, or code that technically works but doesn’t feel clean.

And then you either have to keep prompting again and again, or manually adjust the codebase yourself.

The frustrating part is that when these small issues pile up, fixing them can take almost as much time as just doing the work by hand from the beginning.

Maybe this is more true for frontend because “done” is not just about the code working. It also has to feel right visually, behave well across states, and match the product taste.

Are you guys feeling the same? How are you handling frontend work with AI agents right now?

reddit.com
u/zonayedahmed — 8 days ago
▲ 4 r/nextjs

How do you handle small-to-medium read-heavy JSON/config APIs in Next.js projects?

A pattern I keep running into in frontend-heavy Next.js projects:

You don’t always need a full backend, but you still need some public API-like data for the frontend.

Things like:

pricing/config data

changelog feeds

docs metadata

directory/listing data

public content APIs

cached output from external APIs

For small-to-medium read-heavy data, the options usually become raw JSON files, Route Handlers, serverless functions, CMS APIs, object storage/CDN, or a small backend.

All of them work, but sometimes they feel either too manual or too much infrastructure for the problem, especially when the data still needs predictable updates after a source data change, on an interval, or after some event.

Curious how other Next.js builders handle this:

Do you usually keep these as JSON files?

Use Route Handlers/serverless functions?

Use a CMS or external API?

Push generated JSON to object storage/CDN?

Or something else?

Also, where do you draw the line between “just use a JSON file” and “this needs a real backend”?

reddit.com
u/zonayedahmed — 10 days ago

How do you handle small to medium sized public JSON/config APIs without maintaining a backend?

For frontend-heavy or static-first projects, I often need small public JSON endpoints, config, pricing data, changelog feeds, directory data, docs metadata, etc.

Usually the options are:

raw JSON file

serverless function

small backend

CMS/BaaS

CDN/object storage setup

I’m testing a different workflow with a tool I built called StatikAPI: create/import structured data, transform it if needed, and publish it as an edge-hosted JSON endpoint.

It’s read-heavy and public for now, not a full backend replacement.

Question: when you need this kind of endpoint, what do you usually use? Would a dedicated “data → API endpoint” workflow actually save time, or is this not painful enough?

Link, if anyone wants to try the free MVP: https://statikapi.com

u/zonayedahmed — 11 days ago

Cloudflare finally added Budget Alerts, now please finish it with Budget Limiters

Cloudflare recently added Budget Alerts, and honestly, this was a long-awaited and much-needed feature. Being able to get notified when account-wide usage-based spending crosses a threshold is a big step in the right direction.

But alerts are still only alerts. They help us know when something is going wrong, but they don’t actually stop the damage.

The next logical feature should be Budget Limiters:

Set a monthly spend limit → once the limit is reached → optionally pause/disable selected usage-based services, block new billable operations, or require manual approval to continue.

Even a simple “hard cap mode” for Workers, R2, Images, Queues, AI, etc. would give small teams and indie developers way more confidence using Cloudflare without constantly worrying about surprise bills.

Budget Alerts are great.
Budget Limiters would complete the feature.

u/zonayedahmed — 1 month ago
▲ 0 r/webdev

What does full-stack web development even mean with AI around these days?

So, what does full-stack web development even mean with AI around these days? I mean, if I say I'm a full-stack web developer, I should probably be handling the frontend, backend, database, deployments, and all that jazz. But now, with AI advancing so much, what skills are a must for someone who wants to call themselves a full-stack web developer? Should we also be thinking about product engineering, like what architecture to pick for our projects? And should we even start thinking about shipping, the business side of things, and working with distributions? What do you all think, where should this full-stack development process begin and end now?

reddit.com
u/zonayedahmed — 1 month ago
▲ 0 r/webdev

Is web development the biggest victim of AI advancement or the opposite?

I've been thinking about this a lot lately, and I bet the people who've built their careers in this field are too. On one hand, AI has really sped up development and made us way more efficient in different parts of a project. But at the same time, it's also turned a five-person job into something one or two people can handle, which is a bit scary to think about, right? What do you guys make of all this, and what do you see for the future of a web developer?

reddit.com
u/zonayedahmed — 1 month ago

How do you actually get better at distribution in the age of AI?

Earlier I asked what’s hardest about building side projects now that AI makes implementation easier.

Most people said: distribution.

It was hard before, but now it feels even harder because everyone can ship faster.

I know different projects need different strategies, but I don’t want to stay ignorant about distribution.

Where should a builder start?

reddit.com
u/zonayedahmed — 1 month ago
▲ 212 r/Frontend

Is Frontend the biggest victim of AI, or it is exactly the opposite?

AI seems pretty good at frontend stuff, except when it comes to custom designs, UI, or UX requirements. And making a UI perfect is a huge deal in frontend, which AI can't quite nail yet unless it's using existing UI libraries. So I'm torn: part of me thinks maybe customers don't care how the frontend is made, as long as it works for them. But then, from a product's UI and UX perspective, it's super important for it to have its own unique design language, which existing UI libraries can't provide. And AI can't handle that part properly yet. So, is frontend the biggest victim of AI, or is this just the MVP phase that AI has covered?

reddit.com
u/zonayedahmed — 1 month ago

What is the hardest part of building a project nowadays?

Since AI has made it fairly easy to make a project now, what is the hardest struggle do you people face now?

Thanks in Advance

reddit.com
u/zonayedahmed — 1 month ago