-
Notifications
You must be signed in to change notification settings - Fork 46
Description
Description
create-react-app
is no longer maintained and is not recommended for use by the React team. See, e.g.: https://react.dev/blog/2025/02/14/sunsetting-create-react-app
Context
I don't know if this project is intended to be maintained going forward or if @gkamradt is happy to leave it as a legacy project. I think it has educational value. create-react-app
can cause so many problems now that it is deprecated, and will limit the ability to maintain this project, if anyone wished to do so.
Solution
Given the fact that the repo setup is very minimal (no TypeScript, no substantive tests), I think it would be pretty easy to abandon/eject from CRA and adopt another build tool, like Vite, which seems to be very much in fashion.
I would be happy to take this on, but on the other hand I don't know how much hunger there is to maintain this nice little app.
UPDATE
I've pushed a branch up to my fork of this repo that replaces CRA with Vite:
https://github.com/hesreallyhim/ChunkViz/tree/build/replace-cra-with-vite
I'd love to take credit for it, but Claude Code did most of the work in about 3 minutes. The branch has other enhancements, like more tests and stuff, but the main Vite commit is here:
@gkamradt I'm not sure what your current capacity/intentions are for this repo, I'm currently having fun updating it and have some more enhancements in mind. But IMO create-react-app is a disaster with respect to maintainability (well, it's deprecated, full stop), so as long as some people are still checking out this repo, I think this is a good transition to make. I left the build ("start") tooling the same (caddy, nixpaths, etc.)., although I can't say I understand the reason for all of that stuff. It seems to me this could probably just be hosted on GitHub pages, but again that's up to you.