I am building a full-stack app with React and Node. I have 2 package.json one inside ./client (for react) and one in main directory for Node (same directory as server.js).
If I want to install a package for node I just run npm install --save in the main directory. However, if I want to install a React specific package do I navigate to ./client and run npm install or yarn add inside client?
Is there a typical convention for managing packages for React/Node applications?