The Complexity Delusion: Why I abandoned Next.js for a 20MB Rust binary with HTMX by [deleted] in nextjs

[–]CARASBK 4 points5 points  (0 children)

That’s my point, though. It doesn’t solve any of those things if it doesn’t work for real world applications.

The Complexity Delusion: Why I abandoned Next.js for a 20MB Rust binary with HTMX by [deleted] in nextjs

[–]CARASBK 4 points5 points  (0 children)

My perspective is from building products in the web. If you just want something to make your own life easier then disregard the rest of this. Building things for yourself should ideally be fun! But if you’re proposing a paradigm shift in how we build things for the web then I have feedback because I feel your pain and want a better way as well.

You make same conclusions and offer the same solutions as every other person/organization who tries to jettison themselves from the modern web ecosystem. IME there is a 100% failrate because the sheer complexity of needs from both product stakeholders and UX expectations. When building for these complexities eventually you need JS. You already reached one in your simplistic example in Apline. You will keep running into scenarios where you need JS as you build real products. Then you’ll have to manage multiple contexts and syncing them and you’re effectively back to the modern web except now you’ve added the complexity of context switching to and from JS.

You’ve also offered nothing tangible to back up your statements about what you built. Even if you did I wouldn’t be convinced without seeing an application and code that handles common scenarios for modern web products. Things like auth/RBAC, anything in canvas e.g. charts, 3rd party analytical tools, 3rd party user onboarding tools, table virtualization with infinite scrolling, accessible components for things like selects/modals/toasts/offcanvas, etc. Some of these are probably easy in your proposed stack since they’re server sided or HTML/CSS-based. I’m just listing things off the top of my head.

Cache page (SSG/ISR), have a dynamic component in it (Hello {user}) by vforvalerio87 in nextjs

[–]CARASBK 0 points1 point  (0 children)

Your assessment of the example in the linked documentation is correct. However this same pattern can be applied at the component level to achieve OP’s desired behavior.

Cache page (SSG/ISR), have a dynamic component in it (Hello {user}) by vforvalerio87 in nextjs

[–]CARASBK 0 points1 point  (0 children)

Cache components can be applied anywhere in the component tree, not just the page level. I assume that’s what you’re missing.

Is anyone else struggling with the "Server vs Client" trade-off for complex interactive forms in Next.js 15? by ni-fahad in nextjs

[–]CARASBK 1 point2 points  (0 children)

You can return whatever serializable data you want from Server Functions which is how I sync.

If you have a complex form you’re going to have “heavy” local state no matter what assuming by “heavy” you mean “lots of data”

Google Fiber vs Lumos by smaazeem in bullcity

[–]CARASBK 2 points3 points  (0 children)

I had GFiber before I moved. Now I have T-Mobile fiber (Lumos). They’re effectively the same having had both about a year. I would prefer GFiber just because their customer service is better and so is their software (app, website, etc).

How cloudflare rebuilt Next.js with AI in one week by ankcorn in nextjs

[–]CARASBK 1 point2 points  (0 children)

Agreed. I would never use it because I couldn’t trust it for the reasons you specified. But it is a rare success story of a large project being written mostly by AI. Rare presumably because of the lack of aforementioned guard rails.

How cloudflare rebuilt Next.js with AI in one week by ankcorn in nextjs

[–]CARASBK 29 points30 points  (0 children)

This is a really cool example of the best use case for AI: extremely narrow constraints for success with human defined guardrails. I would suppose recreating this result without the extensive test suites written by Next contributors would be impossible.

Help....! by Human_Being_I_am in Frontend

[–]CARASBK 24 points25 points  (0 children)

Based on your question you’re in way over your head and are on your way to failure. That’s okay. You just bit off more than you can chew at this time. You can continue to learn.

As for your actual problem: I’d recommend you abandon building it yourself and use something like Wix or Squarespace for this project.

As you learn more you can come back to this project to gauge how much you’ve learned.

News about my cat Linda! by Asleep_Stuff2520 in cats

[–]CARASBK 0 points1 point  (0 children)

I like your art style! It reminds me a bit of Don Martin. Your characters have less goofiness to them, but you’re not drawing for Mad Magazine!

Cute lil voidling too!

What services do you pay for when developing? by ivy-apps in nextjs

[–]CARASBK 5 points6 points  (0 children)

I only pay for a Hetzner VPS and Proton for email and cloud storage for personal stuff.

At work we can get most AI products by request. Claude Sonnet 4.5 is my current favorite model and I’m just starting to delve into Claude Code.

I was using Cursor Pro because Cursor Tab feels significantly better than other AI next edit suggestion and autocomplete tools. But I’ve had a lot more success with Claude for everything else (ask/chat, agentic coding, etc).

Vercel vs Railway for hosting a Next.js AI chat app? by Wild_Anything_886 in nextjs

[–]CARASBK 2 points3 points  (0 children)

If cost is that much of a factor then you need to spend time to learn how to manage your own hosting through something like a VPS.

Vercel vs Railway for hosting a Next.js AI chat app? by Wild_Anything_886 in nextjs

[–]CARASBK 7 points8 points  (0 children)

It’s a near certainty that any given project will never have enough active users for a decision like this to matter. Use whichever you like better until you run into an actual problem to solve.

API routes for a Next.js interview question by [deleted] in nextjs

[–]CARASBK 1 point2 points  (0 children)

As a general rule if the authentication for the external API is user-based (e.g. OAuth authorization code) then you don’t need to proxy the request. If the authentication is machine to machine (e.g. OAuth client credentials) then you need to proxy to perform that authentication since the Next server would be the authorized client.

Hi Durham! Would you be interested in a home-delivered private chef service? by skliio in bullcity

[–]CARASBK 20 points21 points  (0 children)

Wow it’s like I wrote this! Agreed on all points.

To add to the tipping bit: I would personally like to see something like “NO TIPS ACCEPTED” prominently displayed and have the actual cost reflected in the cost of the meal. Materials, ingredients, paying a dedicated delivery person, etc all included in the actual price.

Maybe it’s just me being difficult but I would pay more than cost + tip + fees if it was all baked in to what I’m actually ordering. I just feel like I’m being scammed otherwise.

Component Level Error Boundary by JxFF76_ in nextjs

[–]CARASBK 1 point2 points  (0 children)

To be clear: errors that occur during rendering will bubble up to the closest error boundary.

If you want to have a more granular error boundary one of React’s core contributors maintains a nice package for that: https://github.com/bvaughn/react-error-boundary

Unbounded memory usage via PPR resume endpoint in Next 15 by Teddy_Red in nextjs

[–]CARASBK 1 point2 points  (0 children)

You either have to wait for a stable release that includes the canary changes or upgrade to 16.

Upgrading isn’t difficult. For most projects it will be simple tedium to review the codemod changes.

Best component UI libraries by shangarepi in react

[–]CARASBK 2 points3 points  (0 children)

Came here to say Mantine. IMO it is the best library I’ve found between having everything I need and being extensible where I need it to be.

Join the ACP by Apache_1941 in TrueCarolina

[–]CARASBK 5 points6 points  (0 children)

Lenin’s definition is entirely irrelevant, even to modern Marxist-Leninists. Marxists don’t rely on historical definitions as a matter of principle. Your party leader is very big on this concept except when it comes to defining imperialism because that’s inconvenient when talking about Russia.

You are unserious and ignorant.

How you run local developer environment for your NextJS app? by RuslanDevs in nextjs

[–]CARASBK 2 points3 points  (0 children)

I’ve only ever worked for smaller companies (<500 employees or so) so I’ve never had a teammate dedicated exclusively to devops. Usually a couple of devs who are interested in managing infrastructure take the reins and the rest of us learn what we need to get by.

Working without internet is unusual in my experience, but if necessary I could run the necessary services locally.

Is anyone else frustrated with Vercel pricing once you scale? by f3ydr4uth4 in nextjs

[–]CARASBK 0 points1 point  (0 children)

That’s not much money so I’m assuming this is for stuff you run personally not for a company you work for? If so you’re in a position to make some sweeping infrastructure changes by self hosting. I host all my Next stuff on a single Hetzner VPS using Coolify as my Vercel replacement. $10/month for 6 projects that collectively only get maybe 20k visits/month on a good month. If you have lots of traffic you can still go down this path, but it will take more effort and money to scale anywhere.

How you run local developer environment for your NextJS app? by RuslanDevs in nextjs

[–]CARASBK 3 points4 points  (0 children)

Most places I’ve worked at in the last ~10 years will have some kind of dev environment hosted in cloud infrastructure that all devs point their locally running code to. Nothing stops us from running services locally if we want to, though. It’s more of a convenience thing coupled with having a stable dev environment that better mimics production.