Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: What's a batteries-included framework that's React-first?
10 points by vimota 9 months ago | hide | past | favorite | 11 comments
What's the closest thing to Rails, Laravel or Django but works really well with React or Svelte like Nextjs?

Doesn't seem like it exists - why not? React/Svelte clearly won on the frontend, but nextjs leaves a lot to be desired on the full stack DX. I'm looking for something more opinionated and full-featured like the traditional frameworks but that has first class support for modern frontend.




What you're looking for is Wasp -- https://wasp-lang.dev

It's a true full-stack framework and even bills itself as a "Rails-like fullstack framework for React, NodeJS, & Prisma"

It manages all the boilerplatey stuff for you like Auth, Routes, Jobs, TypeSafety, Email sending, Deployments


I really like Astro and Quik.

If you want to take a step further start from a template like astrowind.

It's opinionated performant and works really well with react, Svelte, or any other fe framework. You can even mix and match them.

But for what you are looking for you are better served by combining it with firebase or a firebase clone.


Nextjs feels like the de facto framework. Throw on Prisma and you should be all set. When you say it leaves a lot to be desired, what specifically do you think is lacking?


There's a clear philosophical difference between a framework like NextJS and Rails/Django/Laravel. The former takes the approach of expecting users to integrate various third party libraries (ie. Prisma, PassportJS, ReactAdmin, etc) while the latter has it a lot of features built in as framework primitives and defaults.

Some of those features: * ORM and DB migrations * Auth * Admin interface * Form handling and validation * Email sending * Background jobs

Which is why you end up needing so many different SaaS templates for Nextjs that tie all these different libraries together into a pre-built package.


Exactly. Wasp, https://wasp-lang.dev, is the only framework in the React/Node/Prisma space that's taking this opinionated approach to full-stack development.

For example, you get full-stack auth by just adding this to your config file:

`auth.methods: { email: {}, google: {} }`

Then you on-the-fly Auth UI components and all the necessary hooks


"Convention over configuration" and it seems to be a dying philosophy unfortunately. Ember.js is probably the closest in the JavaScript world.


It is node.js. You compose it with the libraries you want. No fullstack NodeJS backend got enough traction to be a name the community recommend.


have you checked out Wasp? -- https://wasp-lang.dev


inertiajs.com is one interesting approach to solving this by making React work somewhat natively in Rails/Laravel/Django - are there others?


Deno's Fresh uses Preact


Deno's Fresh is certainly a cool project! But I would say it's even further on the NextJS/bare-bones side of the spectrum.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: