News for hackers. Stuff that matters.
Re:Throwing away 10 months of work after 2 months on the job by indy on Friday August 18, 2023 @01:08PM (#37178713)
Surprising that at the point when it crossed 100mb there was no-one on the team who raised any concerns. Perhaps this was a case of boiling the frog?
Re:Throwing away 10 months of work after 2 months on the job by warp on Friday August 18, 2023 @01:25PM (#37179027)
What I understood from the post was that it was only 168mb because tree-shaking didn't work on whatever version had support for server-side rendering. With working tree-shaking the bundle these developers were working with during development would be considerably smaller.
Re:Throwing away 10 months of work after 2 months on the job by afavour on Friday August 18, 2023 @01:58PM (#37179576)
Wouldn’t be at all surprised if no one was paying attention. Chrome on a top spec MacBook can chew through 100MB of JS without thinking about it. Someone on an old machine is screwed but hey, “works on my machine”…
Re:Throwing away 10 months of work after 2 months on the job by pault on Friday August 18, 2023 @02:31PM (#37180060)
Probably bundling the server side dependencies into the client. I’ve also seen this happen when people add uncompressed 4k png images and the build tool is configured to inline all static assets. Obviously there was a lack of domain knowledge in the company or this wouldn’t have happened.