Closed tiagob closed 4 years ago
CRA installs react-scripts on every run which does most of the changes. This is to avoid changes to the global package. Should we do the same or should we check for updates?
react-scripts
https://github.com/facebook/create-react-app/blob/f5c3bdb65480f93b2d4a4c2f3214fc50753de434/packages/create-react-app/createReactApp.js https://github.com/facebook/create-react-app/blob/f5c3bdb65480f93b2d4a4c2f3214fc50753de434/packages/react-scripts/scripts/init.js
Running yarn create or npx does this
yarn create
npx
CRA installs
react-scripts
on every run which does most of the changes. This is to avoid changes to the global package. Should we do the same or should we check for updates?https://github.com/facebook/create-react-app/blob/f5c3bdb65480f93b2d4a4c2f3214fc50753de434/packages/create-react-app/createReactApp.js https://github.com/facebook/create-react-app/blob/f5c3bdb65480f93b2d4a4c2f3214fc50753de434/packages/react-scripts/scripts/init.js