3 ms·
This is like saying that backend's gone crazy because people are loading MBs of frameworks just to print "Hello World" on the screen. Well, yes, but those are j
by ivanhoe 7y ago
This is like saying that backend's gone crazy because people are loading MBs of frameworks just to print "Hello World" on the screen. Well, yes, but those are just examples, they're meant to be simple to understand, not a realistic use case. React is a tool for building complex web apps and in RL such app would do a lot more things and then it'd start to make a lot more sense using it. If you do something this simple, then by all means don't use it.
- Touche 7y ago> This is like saying that backend's gone crazy because people are loading MBs of frameworks just to print "Hello World" on the screen. They are not equivalent at all, you can add as much bloat as you want on your backend as long as you scale it. The cost is put on you. Front-end bloat directly affects the user. We used to justify every library addition, now people just add a library for every trivial task to make it slightly "nicer" as if that matters at all.
- ivanhoe 7y agoIssue here is with criticizing over-simplified Hello World examples for unnecessary "bloat" that is not really a bloat in real life. And people do add unnecessary libs in their code, I agree, but that's another story...