Remix.run Logo
aggregator-ios 5 hours ago

Surprised this didn't get a higher placement on the HN front page, only 34 points?

Absolutely impressive that this was done with $1100 in tokens and in 1 week. I agree, and so do a lot of my peers that code has quickly become nothing more than a tool to accomplish a task. Code never was and never should have been the product in and of itself. This is amazing news, and this is exactly where we should be as a civilization. The only people that have trouble with this development are the gatekeepers who think that code should be sacred and revered by itself. That is a perversion of computing, and we got the wrong group of people there.

While Vercel continues to be the #1 host for Next.js projects, others seem to claim that migrating to their platform is as easy as enabling the Github integration. It's not. Cloudflare even mentions that you can port your Next project to run on its infra, but I couldn't get it to work. Replit markets the same, and yet, Next fails to on there too. You have to go through several painful hacks and try-build-fail loops and eventually not worth it.

You know what took less time and frustration? I asked Claude Code with Opus 4.6 to convert the entire Next project to React+Vite. And as a shameless plug, I was able to get https://jsonquery.app fully up and running and the builds are lightning fast with Vite, and worked with just 2-3 tries on Cloudflare pages. If you don't need SSR and Next routing, I suggest you do the same.

Oh, and in Next.js land, Turbopack had severe edge cases, that I had to revert to Webpack. Esp when dealing with WASM, as JSON Query uses the jq dependency brought in as a wasm to run on the web. This is not an issue with Vite.

adithyassekhar 33 minutes ago | parent | next [-]

> Surprised this didn't get a higher placement on the HN front page, only 34 points?

Vercel may be bad, but they have been a net positive to the web landscape, so many projects are alive because of them. And I truly respect the hard work the next devs put into their code and test suites. I'm surprised any self respecting dev even votes this up.

blibble 4 hours ago | parent | prev | next [-]

> Surprised this didn't get a higher placement on the HN front page, only 34 points?

looks like HN has finally defeated the cloudflare voting ring

Hamuko 4 hours ago | parent | prev | next [-]

>Surprised this didn't get a higher placement on the HN front page, only 34 points?

The last time Cloudflare vibe-coded something, it was a glorified proof-of-concept with TODOs up the wazoo.

leptons 2 hours ago | parent | prev | next [-]

>The only people that have trouble with this development are the gatekeepers who think that code should be sacred and revered by itself. That is a perversion of computing, and we got the wrong group of people there.

I'm not sure who the hell you're talking about, but I'd guess from your comment that you have a pretty high opinion of yourself.

somewhereoutth 3 hours ago | parent | prev | next [-]

> Code never was and never should have been the product in and of itself

Except that the code completely and precisely defines the actual product. Bad code => bad product.

> code should be sacred and revered by itself

As a production of the hand and mind, code should be revered - if only as the mark of the human or groups of humans that made it.

> the wrong group of people

The group of people who care deeply about the world around them.

ojr 4 hours ago | parent | prev | next [-]

last time I tried to use nextjs in a cloudflare worker there was a lot of issues

lovich 2 hours ago | parent | prev | next [-]

> Surprised this didn't get a higher placement on the HN front page, only 34 points?

Without spending the time on reading through all the details for the umpteenth “look what we built with AI!” article, I assume this is as valid as Anthropic’s claim about building a C++ compiler a few weeks ago where, when you looked under the hood, it was still relying on existing compilers.

Like OK, I really don’t believe the claims to begin with, but even if I do take them at face value, you just recreated something already existing and working for years?

cpursley 4 hours ago | parent | prev [-]

Or just skip/migrate off of the Next.js and other JS SSR rats nets to Elixir and Phoenix LiveView - Claude and Codex are both very good with Elixir now: https://elixirisallyouneed.dev

h4ch1 4 hours ago | parent | next [-]

I see this sort of maximalism a lot where people are just turned off js and say f it I'll use HTMX or LiveView or Alpine or whatever promises that you won't have to write js, and that's fine; as long as you're building generic dashboards and/or the same repetitive UI patterns. And even then you're basically writing JS just in a worse way.

I use Liveview and Elixir for 2-3 home-lab related frontend services; but when I have to do something moderately complicated I have to reach out for a darn js library and hooks and phx-commands. Try using native drag and drop or even client-side markdown rendering. This also leads to memory leaks when you can't properly detach libraries.

I just say think about your goals; these frameworks/platforms that promise to remove JS from your life or minimize it do so by sacrificing something. There's no silver bullet for building on the web.

But whenever I do talk to people who are debating amongst frameworks SvelteKit and SolidStart are the two I recommend, it's easy to host anywhere (unlike Next), you can turn off SSR, just ship static files with very minor changes (exporting a variable in Svelte for ex). They're really quick, get the job done, actively being worked on, loads of resources, discussions and thriving communities.

cpursley 3 hours ago | parent [-]

It's not so much about the syntax, it's about the better runtime. But it is nice to have fewer moving parts and not have to touch JS as often.

cpursley 4 hours ago | parent | prev [-]

see also: https://dashbit.co/blog/why-elixir-best-language-for-ai