40
u/Headpuncher Apr 30 '24
Worse for react as everything, like everything, has to be an external resource or created from scratch.
At least Angular is honest about being a framework, and not pretending to be "tiny", "performant" "not a framework", until you need .... uh, routing? That's an npm package. State management? Now you've got a framework!" React is a f***** liar!!!!!
Ok, rant over, I'm going back to the basement.
4
u/zombarista Apr 30 '24
I always tell my devs that angular is “batteries are included”
HttpClient is my go-to example for a simple task that a framework should handle.
3
u/youtpout Apr 30 '24
Now you use next, they empact all these tools, it’s like angular universal.
5
u/Headpuncher Apr 30 '24
Ah, so it is a framework! Have I not been listening to react pastors for the last 5 years giving sermons about how the advantage of react is that it isn't a framework? Well, well, how the turntables.
4
u/rad_platypus Apr 30 '24
Well technically Next and Remix are the frameworks, but React is still just the library. People still build SPAs with just React and Vite as a bundler.
I think the distinction is dumb and it won’t really work once React adds their compiler in the upcoming versions.
1
Apr 30 '24
It's been a few years, but the last time I built the sample React app there were over 900 packages. I'm sure it's even more bloated by now.
1
1
May 01 '24 edited May 01 '24
This comments section is exactly why I love and hate the js community. Such a shit show. Can't decide which of the 420.69 js flavors is better, while every other community has a well established and accepted default framework (not the best, but an accepted default)
9
u/edvardgrig Apr 30 '24
one more reason to switch to pnpm. at least inside node_modules you can see only dependencies from package.json
3
5
2
1
u/LegalizeCatnip1 Apr 30 '24
I am legitemately in the middle of waiting for an ‘npm install’ on an old project (not mine). It’s been at least 15min.
2
u/Headpuncher Apr 30 '24
If we could trade version dependency issues like pokemon cards we'd all be rich.
1
1
u/pacpumpumcaccumcum Apr 30 '24
My dumb ass committed that Node modules folder to my Repo for the first time long ago be like.
1
u/messier_lahestani Apr 30 '24
this is a very old meme. which makes it even worse as it means it's not been fixed.
1
1
57
u/Illustrious_Mix_9875 Apr 30 '24
True for any js project tbh