4 ms·
Can you please source this? A react project can be so many things...do you mean create react app? A custom react app?
by zachrip 4y ago
Can you please source this? A react project can be so many things...do you mean create react app? A custom react app?
- aphexairlines 4y agocreate-react-app starts with 1506 deps: $ npx create-react-app my-app $ find my-app/node_modules -name package.json | wc -l 1506
- jameshart 4y 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 4y agoAre dependencies that run on your development machine any less of a maintenance or security concern?
- xboxnolifes 4y agoYes, because they aren't running in prod.
- jameshart 4y 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.