node_modules

Each time you create a project in ReactJS it creates a node_modules folder with about 210MB of content, pain in the ass.

Solution - courtesy of Paul Holmes

  1. Create a template application
  2. Move the node_modules folder to somewhere where it is easily accessible
  3. Navigate into the <app name> folder
  4. Create a sym link to the node_modules that you stored somewhere on your machine
    1. on windows run mklink /D node_modules <path to node_modules>

Creating a new project

  1. Do not create the project using create-react-app <app name>, simply create a folder called <app name>
  2. Navigate into the <app name> folder
  3. Copy the contents of the template application from above into the <app name> folder