HACKER Q&A
📣 denismenace

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


And why? (Please do not answer with the usual "Use what you have most experience with" or "It depends on the use case")

Also what libraries/services do you prefer to use in combination? For example: -Auth -ORM/Db connector -Email -Deployment (VPS/Container...)


  👤 devdude1337 Accepted Answer ✓
I would recommend to not use a framework at all. I usually maintain legacy projects and modernize them for my clients. Whatever you feel is the latest shiny thing will be the legacy horror of tomorrow.

If I’m free to decide the tech stack it is HTMX with a backend technology that suits the business case. For web related work I usually choose Node.js and fastify without template engine. It’s fast and easy going.


👤 mortallywounded
None. I'd use Go with standard library templates and plain ol' CSS with a sprinkle of JS.

If I was forbidden to use that, I'd probably use Ruby on Rails, Django or something like that.


👤 kugelblitz
PHP / Symfony.

It has Auth, Templating, ORM, Email, Caching, Forms, Validations.

For frontend I like Bootstrap or Tailwind as a base, but for interactivity I use a combination of htmx and Alpine.js, so everything's pretty light-weight.

In the frontend world, I started reducing my reliance on it. I started quite a while ago and had went through jQuery, jQuery UI, bower, gulp, grunt, AngularJS, then the completely rewritten Angular 2+, Vue.js, npm, yarn 1, yarn 2, yarn 3, webpack, rollup, Parcel.js (which I like)...

It was too much for me to keep up. So I stuck with Symfony and try to keep the frontend light-weight.


👤 0xblinq
I’d say use a “real” full stack (or batteries included) framework such as Laravel, Rails or Django. If you do need to use React, Vue, etc, then glue them with Inertia.js which is just a super thin layer that basically just replaces those frameworks templates by a modern js franework. Best of both worlds in my opinion, and a super stable and maintainable stack.

My problem with the ones you are mentioning (next, remix, svelte kit, etc) is that 1) they are not a full solution… you still have to figure out everything else, from authentication, authorization, sending emails, ORM, background jobs, etc… and 2) they’re in constant shuffle and rewrites and change of opinions so maintaining long running projects on these frameworks quickly becomes a nightmare.

If it’s for learning or a side project, then pick whatever. If it’s for business, pick tried and true and something g you’re confident in 2 years will be still maintained and not be a totally different beast (ehem, next).


👤 root_axis
None. I just use react and express. Does everything I need. I don't use ORMs, I write my queries in sql files. Deployment I use github actions or jenkins.

👤 dian2023
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)

👤 slowtec
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...)

👤 ndstephens
I prefer using Next. I've been using Remix at the day-job for about a year now. It's fine, but I still choose to use Next with all personal work. I'd also prefer to work with it professionally. My personal dev-blog started in v12, I upgraded it to v13 a while back (not much involved in that upgrade), and at this moment am refactoring it to v14. A lot has changed, and for the better.

It provides a great solution for most needs and problems. But I think the biggest selling point is that their docs are excellent. I never connected with the Remix docs...they often left me still confused. I've used Remix v1 and updated our two work repos to v2. I still don't feel fluent with it for some reason and often find myself thinking "I prefer the way Next does this".

Someone else here mentioned the T3 stack. That's a good resource to at least see other libraries/services that work well with Next. You don't need to follow any of it blindly, but use it as an information resource.


👤 builder555
VueJS - syntax is very simple, you can start using it by importing it in