3 ms·
create-react-app starts with 1506 deps: $ npx create-react-app my-app $ find my-app/node_modules -name package.json | wc -l 1506
by aphexairlines 5y ago
create-react-app starts with 1506 deps:
$ npx create-react-app my-app
$ find my-app/node_modules -name package.json | wc -l
1506
- jameshart 5y ago90% of which are development tools - eslint, testing, typescript, webpack, etc. The actual runtime dependencies of a react app are basically just react and react-dom.
- infogulch 5y agoAre dependencies that run on your development machine any less of a maintenance or security concern?
- xboxnolifes 5y agoYes, because they aren't running in prod.
- jameshart 5y agoNo, but the number being quoted is the sum of two different security concerns - and it’s attributing the concern to ‘react apps’, when actually react itself is pretty clean in terms of dependencies.