Re:How React 19 Almost Made the Internet Slower
by Capricorn2481 on Saturday June 22, 2024 @02:07PM
(#40760908)
You're all over this thread saying "We couldn't scale it, so you little plebs certainly can't." I'm sorry it didn't scale for you, but it's telling that you think your experience is THE experience. Facebook uses it, I think your company of 100 devs could scale it fine, as many do.
Re:How React 19 Almost Made the Internet Slower
by theultdev on Saturday June 22, 2024 @03:59PM
(#40761695)
70mb is insane and not at all the standard.
There's a reason why Vite has a default bundle chunk warning of 500kb.
There's really no reason it should be that large. If you just lazy load each route your chunks should distribute into manageable size pretty much automatically.
It sounds like you may also have a bunch of dependencies. Which can happen in a native app, but in a web app as you know you'll have limited resources so size is important.
Our full bundle itself is close to 70mb and still growing every week, that's absolutely insane.