News for hackers. Stuff that matters.
Re:How to start a React Project in 2023 by swsieber on Thursday March 23, 2023 @06:15PM (#35282090)
Angular doesn't play well with newer build tools - esbuild, vite, etc., making Angular quite isolated from the other frameworks. So a plug for vite is a plug for most frameworks except Angular (and others not on the radar).

But also Angular has egregiously big build times as your project scales up, and that sucks.

Re:How to start a React Project in 2023 by Bellend on Thursday March 23, 2023 @06:43PM (#35282475)
What about your developers though? Our company pays for 5 days a week 8 hours a day of talented humans in a medium team. I can throw compute for 1/10000th that.

A 56 module Angular 15 codebase `npm start` takes 10 seconds, and compiles after change faster than a browser refresh. The build takes 67 seconds.

What scale up are you talking about so that I know in the future what to look out for?

Re:How to start a React Project in 2023 by swsieber on Friday March 24, 2023 @11:07AM (#35290026)
I think we were at around ~150k lines of typescript I think. We were also stuck on Angular 12 due to browser compatibility issues (cries in IE11). I think we were looking at ~20s for the dev server and ~25 minutes for the the prod builds.
Re:How to start a React Project in 2023 by phist_mcgee on Saturday March 25, 2023 @01:19AM (#35299708)
25 minutes??

Do you know which parts of the build are taking the longest? Transpiling, bundling etc?

Re:How to start a React Project in 2023 by Bellend on Tuesday March 28, 2023 @06:28PM (#35348892)
I'm struggling with those numbers personally.