News for hackers. Stuff that matters.
Re:Vite 3.0 by 5e92cb50239222b on Wednesday July 13, 2022 @01:49PM (#32086232)
> Configuring a React project from scratch with Webpack

Why do people do this? I've always used the official way (CRA), and never had any issues with it. If you need to adjust webpack configuration, there are third-party packages that work very well in practice (like craco). Yet reinventing the wheel over and over again seems to be popular.

https://create-react-app.dev/docs/getting-started

Re:Vite 3.0 by SlackingOff123 on Thursday July 14, 2022 @09:26AM (#32095800)
The user you replied to gave a reason already:

> Vite is not just way way way faster than Webpack, it's also way simpler.

It's not reinventing the wheel. It's just significantly improving the wheel.

Re:Vite 3.0 by 5e92cb50239222b on Thursday July 14, 2022 @10:34AM (#32096557)
You're answering a question I didn't ask (see the first quoted line). I'm interested in why would anyone waste their time on what's already been done (namely, re-implementing create-react-app from scratch).
Re:Vite 3.0 by _fat_santa on Thursday July 14, 2022 @11:35AM (#32097389)
I'm not a huge fan of these "managed" frameworks, especially for a larger app. The reason I set things up from scratch is there is alway a fear that in the future a migration away from <MANAGED_FRAMEWORK> will be required for some reason and the effort will be much greater than if we had set it up custom from the getgo.