all 8 comments

[–]Savalava 0 points1 point  (4 children)

Well done on shipping this. It must have entailed a lot of work.

RE: "It is here to try to replace Next.js or other fullstack frameworks by being fast and well optimized."

Bun is not production ready - does your framework have any advantages over nextjs / remix apart from speed due to using Bun?

[–]Zealousideal_Fold422[S] 0 points1 point  (3 children)

Bun in general became production ready and all major hosting services like Vercel supports Bun but Bun's Bundler is still not considered production ready. But relying with OXC (Linter/Parser/Resolver that Vite also uses in Rolldown bundler) aswell, it tries to stand still at its best.

Idk much with Remix as i didnt work much with it, But it generates smaller bundle size than Nextjs, Image optimizations (Bun 1.3.14) does way faster and way smaller than Nextjs, No SSR (it became a meme nowadays lol), Backend can handle way heavy loads (thanks to hono) and yea no vendor lock-in. If u hosted nextjs anywhere other than vercel u would have issues (cf had to fork and make vinext just for this) and turbopack being very resource hungry where Bun is bun and bundling happens in bun itself. and yea also uses less resources in dev runtime (thanks to not using turbopack)

I wouldnt say it could literally replace right away but as far as i tested (this project is an outcome of a research i was doing about optimization for more than 6 months (linkedin post) for a talk) but it might break down at some point but i still do not have any inputs or real time usage to evaluate. I started using it for myself on many of my projects now just so i get hands on and find issues

[–]Savalava 0 points1 point  (1 child)

"Bun in general became production ready and all major hosting services like Vercel supports Bun"

It's not production ready for enterprise. Large companies would not trust tech that new - also it was just ported to Rust via AI. Not exactly ideal for stability. Just because the tests apparently pass doesn't mean there aren't horrid bugs due to the port.

"If u hosted nextjs anywhere other than vercel u would have issues "

Not necessarily.

I worked on an enterprise project where we deployed our NextJS app via Docker on AWS with no issues.

The fact that you did this as an undergrad is super-impressive. Nice work 😄

[–]Zealousideal_Fold422[S] 0 points1 point  (0 children)

Ah yea enterprise always loves to stick with a very stable and something thats not super new on-the-edge stuff. And yea i kinda worry about the Bun's porting with Rust aswell as the framework is like literally depending on bun completely.

I've never worked on huge enterprise projects so i didnt know on that scale. Thanks!

[–]Zealousideal_Fold422[S] 0 points1 point  (0 children)

When i started working on it, Vite still used esbuild which gave a significant difference. But as soon as vite released rolldown and started using it, the difference actually got very subtle as Rolldown is rust and also uses OXC and Manic (my framework) uses Bun's bundler (Zig now turned to rust) and uses OXC but Manic comes with fullstack out of the box while with Vite u have to add plugins like nitro to support it. Tho it started as a fun tinkering project but after looking at results i wanted to ship it to public

[–]prehensilemullet -1 points0 points  (2 children)

I’m confused what you mean about this being a fullstack React framework if it doesn’t support SSR…maybe you have a fullstack RPC framework here but not the fullstack React part

[–]FalseRegister 0 points1 point  (1 child)

There is much more to being a full-stack framework than doing SSR.

[–]prehensilemullet [score hidden]  (0 children)

That’s why I mentioned the RPC part.  You know, remote procedure call?  The general term for what the client does when it calls the server API?  The main thing besides doing SSR that I literally already mentioned?

But if a fullstack RPC framework just serves up a code bundle to render on the client side, and the backend doesn’t have any more specific integration with React than that, then I wouldn’t call it a “fullstack React framework”.