Live data from Hacker News

Ask HN: Which full stack framework (NextJS, Remix, SvelteKit) would you use?

news.ycombinator.com

21–30 of 57 posts

Re: Ask HN: Which full stack framework (NextJS, Remix, SvelteKit) would you use?

#22

Earlier quoted context omitted.

The problem with writing raw queries is that you don’t get that sweet sweet type checking

This. I can’t live without Prisma anymore.

I do like Prisma, but I find that for quite a few queries it's ridiculously inefficient - things like getting counts, or where you have to get 20 of some model with a bunch of relations - that I find myself using a lot of queryRaw calls. Apparently this is because it doesn't use joins at all, it's all done sequentially. For some of the stuff where I'm getting counts grouped by month it goes down from 20+ seconds to under 200ms using raw SQL.

Re: Ask HN: Which full stack framework (NextJS, Remix, SvelteKit) would you use?

#23
post #4

I like nextjs deployed on vercel but am not a big fan with the new direction of next so open to other frameworks. The other libraries I tend to change up depending on use case or what I want to try out. (this is mostly for basic crud/LLM wrapper apps)

> not a big fan with the new direction of next Care to elaborate?

Not the OP but agree with their comment. For me, since Next 13 it's been a mess. The transition to the app router has been incredibly complex with lots of undocumented edge cases and other issues. Rendering in general has become very confusing with server-side, client-side and everything in between. There's also no real guidelines/structure for handling remote content, requiring projects like ContentLayer (which may actually be discontinued).

Re: Ask HN: Which full stack framework (NextJS, Remix, SvelteKit) would you use?

#24
post #21

I'd use https://leptos.dev because you can use a fully typed language (Rust) that is super fast in the backend and also in the frontend (see https://krausest.github.io/js-framework-benchmark/2024/table... )

This looks really good, basically what I always wanted to have. I really don't like frontend development, and everytime I tried some framework it was a teetering ziggurat of javascript and css, but being able to do everything in rust would be perfect.

Do you are anyone else have experience with this and can tell me how well it works in practice and if you hit limitations very fast, where you need to hack something to make it work?

Re: Ask HN: Which full stack framework (NextJS, Remix, SvelteKit) would you use?

#25

I would recommend - https://create.t3.gg/ It uses the following, which as of late are pretty well know and common, so you can punch in your problems to stackoverflow, google, or chatgpt and get some pretty good answers. It uses: Nextjs (React), typescript, trpc (typescript rpc), auth, tailwind, and Prisma (ORM for sql and mongo) Though of course these could go out of fashion tomorrow, but I don't think the essential…

Isn’t trpc redundant now that next’s server actions are out?

[deleted]

Re: Ask HN: Which full stack framework (NextJS, Remix, SvelteKit) would you use?

#26

Earlier quoted context omitted.

This. I can’t live without Prisma anymore.

I do like Prisma, but I find that for quite a few queries it's ridiculously inefficient - things like getting counts, or where you have to get 20 of some model with a bunch of relations - that I find myself using a lot of queryRaw calls. Apparently this is because it doesn't use joins at all, it's all done sequentially. For some of the stuff where I'm getting counts grouped by month it goes down from 20+ seconds to u…

Wow, had no idea but it's madness that they don't use joins. I think it says a lot about the state of our industry that an ORM can get so popular in 2024 without leveraging such an essential SQL feature. I mean, Entity Framework had this covered 15 years ago... But it's not cool i guess.

Looks like there's preview support for joins now, so at least they are getting there...

Re: Ask HN: Which full stack framework (NextJS, Remix, SvelteKit) would you use?

#27

I would recommend - https://create.t3.gg/ It uses the following, which as of late are pretty well know and common, so you can punch in your problems to stackoverflow, google, or chatgpt and get some pretty good answers. It uses: Nextjs (React), typescript, trpc (typescript rpc), auth, tailwind, and Prisma (ORM for sql and mongo) Though of course these could go out of fashion tomorrow, but I don't think the essential…

[deleted]

Re: Ask HN: Which full stack framework (NextJS, Remix, SvelteKit) would you use?

#29
post #21

I'd use https://leptos.dev because you can use a fully typed language (Rust) that is super fast in the backend and also in the frontend (see https://krausest.github.io/js-framework-benchmark/2024/table... )

1) is it like Phoenix LiveView?

2) is it production ready?

Re: Ask HN: Which full stack framework (NextJS, Remix, SvelteKit) would you use?

#30
Currently using SvelteKit for a project, and I dig it. I've used Vue in the past and tried to get on the React train, but both felt a bridge too far from good ol' HTML, JS and CSS. Granted, I'm mostly using the packaging and reactivity in SvelteKit - most of my server side code is written in Node using Express to better separate concerns, with some existing in SvelteKit mainly for BFF purposes.

I feel like if, down the road, I decided to ditch a framework altogether, writing it in Svelte may help seeing as there are very,. very few framework specific elements in it. I may also be deluding myself.

Post reply on HN