| ▲ | InsideOutSanta 3 days ago |
| I know I'm weird because I grew up in the 90s, but 2 MB of JS to show a dashboard with widgets still doesn't quite compute in my brain. |
|
| ▲ | jeffhuys 3 days ago | parent | next [-] |
| It's not just 2 MB of JS. I'm describing ALL traffic, also the JSONs received, CSS, images, everything. Besides, we show many charts, and believe me when I say: financial people are PICKY when it comes to chart functionality. It needs to have EVERYTHING or you're not considered serious. |
| |
| ▲ | mariusor 3 days ago | parent [-] | | It sounds like you're developing a turn-key highly interactive application for a very particular niche of users. It makes sense that for them the tradeoff of downloading 2MB of Javascript makes sense versus enjoying their bells and whistles. But for the rest of the internet, where users sometimes view your page with decrepit browsers riding on hobbled connections, 2MB is too much. Worrying about these people is not blowing it out of proportion. It's basic human decency. | | |
| ▲ | spockz 3 days ago | parent [-] | | I think you are mostly describing the difference between a web application and web site. Where lately frameworks for building web applications have been used to build web sites. | | |
| ▲ | mariusor 3 days ago | parent [-] | | Sure, but I think there are devs out there that are making that confusion, and parent comment I responded to seems to not be aware of the difference. You know it's not the guns that kill people, it's the web devs. | | |
| ▲ | jeffhuys 3 days ago | parent [-] | | Interesting that you think that I'm not aware of the difference, lol. Whatever. | | |
| ▲ | mariusor 3 days ago | parent [-] | | Yes, because you're rebutting to a post about light(er) web components by saying that we're blowing it out of proportion since your specific case with very specific users can work with 2MB of Javascript. You gave no indication that you're aware of other use cases that will benefit from these smaller frameworks, and even though I am aware you can't put in one couple hundred words post everything about your knowledge you showed zero empathy towards web users that are different than yours. Apologies if that's not the case, I still feel like it's a discussion worth having. More so if you agree with my words. |
|
|
|
|
|
|
| ▲ | black_puppydog 3 days ago | parent | prev [-] |
| Heh, I just literally built a toy dashboard in dioxus that loads just about 2MB of code, and then 700KB of css (tailwind, not optimized) and 1.5MB of payload data to visualize.
Then again the 2MB includes ~1.7MB of just static data that I included in the wasm build for convenience since it will always be needed. :D (this was a learning project in my free time, no I'm not defending this in any way, although I'm actually quite happy with the solution of including static data in my binary) |
| |
| ▲ | jeffhuys 3 days ago | parent [-] | | It's interesting. I believe many of the people here know how it goes. There's no possibility of shrinking this further. It will only expand; we just have too much going on. We do have a genuine use for SPA, though - our webapp IS as complex a web-app can get, we offer no mobile version (for that, get the app). |
|