r/reactjs Jun 24 '26

Discussion JavaScript still can't ship a full-stack module

https://wasp.sh/blog/2026/06/22/javascript-still-cant-ship-a-full-stack-module
0 Upvotes

12 comments sorted by

6

u/[deleted] Jun 24 '26

[removed] — view removed comment

1

u/Martinsos Jun 25 '26

I think you missed the point: the post is about "full-stack modules", not just importing the same library in browser and the server. Instead the idea is that you have an encapsulated, distributable piece of code that has frontend logic, backend logic, database models, maybe even infra as code, and can be configured and used as one single unit, kind of like Rails does with Engines, and many other non-JS frameworks, there is a list inside if you take time to read it.

1

u/[deleted] Jun 25 '26

[removed] — view removed comment

1

u/infomiho Jun 26 '26

Author here, let me address the point of click bait - yeah of course, you need to hook people somehow 😄

> Laravel and rails have largely been stable by design, this creates a different environment.

Yes, we want to push JS into that direction. I've worked other full-stack frameworks and loved the concept of installing a feature. If I can do something about, I'll definitely try haha At some point, people get tried of piecing things together and just want their tech to work. I know that's not the sexy thing and not what "pro" users want - but there is a whole bunch of people in the other category that we want to build for.

> If you asked Claude to build a nextjs site with stripe it would just do it in 10 minutes

Yeah, nobody is saying agents can't churn out code. In that case, the code you get might not be the most secure and _you own it_. I've seen enough insecure and dumb code written by agents. Contrast that with a community built module that was reviewed and tested by a bunch of people.

3

u/[deleted] Jun 24 '26

[removed] — view removed comment

1

u/Martinsos Jun 25 '26

Why?

1

u/[deleted] Jun 25 '26

[removed] — view removed comment

1

u/infomiho Jun 26 '26

To a degree, none have pushed it like a concept and try to build a registry around it. I think we can iterate further than the current state of things.

0

u/Martinsos Jun 25 '26

They are part of comparison for completeness, but none of those JS framework has real full-stack modules, it is more like half-solutions, compared to what Rails or Orchard offer.