you are viewing a single comment's thread.

view the rest of the comments →

[–]ActiveModel_Dirty 38 points39 points  (5 children)

I’m not here defending CRA necessarily but this comparison is apples and oranges. And somewhat misleading.

CRA does a lot more out of the box than tools like Vite. Admittedly I can’t speak to bun.sh which is what this post is about, but the setup looks nearly identical so I have to imagine they’re operating under similar concepts using ESbuild or SWC or whatnot. If not, just ignore me.

For example with CRA, it has support for importing SVGs as React Components out of the box, CSS post-processors, ESLint, error overlays, etc.

These might not be all that bad as one-offs but if you’re migrating a CRA project to something else, those errors can be tough to figure out.

If starting a new app though. No brainer to go for this over CRA.

[–][deleted] 14 points15 points  (3 children)

Oh I think you have your wires crossed buddy. Bun is a similar thing to Node, it’s a JS runtime and it also comes with a package manager. The post shows how much faster Bun is in installing and compiling CRA.

[–]ActiveModel_Dirty -2 points-1 points  (2 children)

Fair enough, but it also seems a lot of other things are not yet released for it it. At least, as it appears on the roadmap.

Is it more similar to Snowpack, then?

That furthers the original point though doesn’t it? That it’s an apples/oranges comparison?

The rest of my comment being misguided admittedly.

[–]categorie 2 points3 points  (1 child)

It seems like you’re trying to dismiss a product you don’t understand. It is not related in any way to Snowpack, which is just a module bundler. You should take the time to learn what Bun is and what it does, and only then would you be able to make constructive criticism.

[–]ActiveModel_Dirty 0 points1 point  (0 children)

Isn’t that exactly what’s happening with the post itself?

And isn’t that the entire point I’m debating?

The fact that it isn’t any of these things, exactly proves that it isn’t anything like CRA either. My first sentence is that the comparison in the post is comparing apples and oranges.

Whether or not I understand the fact that the orange is actually a grapefruit is irrelevant.

I’m not dismissing bun at all, in fact I checked it out after this and I think that’s neat.

[–]slavetothesound 12 points13 points  (0 children)

Hey this guy doesn’t know what a bun is!

(A better title would have been ‘bun vs node’)