←back to thread

Next.js is infuriating

(blog.meca.sh)
1033 points Bogdanp | 1 comments | | HN request time: 0s | source
Show context
coxmi ◴[] No.45100774[source]
Deno Fresh seems like it has the right approach. It’s not complicated, the docs are refreshingly simple, and it handles both server and client logic without getting confused.

It’s just a shame it’s Deno-only (although I completely understand why)

replies(4): >>45101637 #>>45102185 #>>45102475 #>>45102854 #
upcoming-sesame ◴[] No.45102475[source]
I think HonoX is similar to Fresh, with the Interactive Islands

https://fresh.deno.dev/docs/concepts/islands

https://github.com/honojs/honox?tab=readme-ov-file#interacti...

replies(1): >>45102498 #
1. coxmi ◴[] No.45102498[source]
Ooo nice, I didn’t know about this. Thanks for posting, looks interesting, and framework agnostic to boot :)

(Edit: well, potentially at least)

I did try to make something like this a couple years back to deal with multiple renderers and a choose-your own set of various SSR techniques [0], but didn’t get very far with it in the end. I should have based it on Hono really, to get web standard Request objects.

[0] https://github.com/coxmi/ssr-tools