4 ms·
Too long. Therefor create-react-app is not useable for anything other than toy or hobby projects.
by tirpen 6y ago
Too long. Therefor create-react-app is not useable for anything other than toy or hobby projects.
- rubyn00bie 6y agoThis. The problem isn't reading 1000+ dependencies, the problem is the 1000+ dependencies... There's no way, setting up a view renderer, in the context of a webpage, requires a 1000+ dependencies. I honestly did this exact thing with `create-react-app` and it's one of the reasons why I don't use/choose react. Too much bloat for no batteries included.
- akx 6y agoYou're right there's no way. CRA isn't React. You can still use React by just adding react and react-dom to a page via two script tags.
- mlsarecmg 6y agothis doesn't make any sense. cra is webpack, but in a way that doesn't blow up every week. you can use react without bundlers, but what is the point. you'll be sitting there, without a dev env, no hot reload, no module resolution, minification, types, jsx, babel, ... any single one of these will get you 1000+ packages on the dev side. none of this is going into the published build of course.