After setting up my package.json, I successfully installed reactjs and react-dom.
"dependencies": {
"bootstrap": "^v4.1.1",
"popper.js": "^1.14.3",
"react": "^v16.4.1",
"react-dom": "^16.4.1"
}
Upon downloading, the react
and react-dom
folders were both added correctly.
Inside each folder are subdirectories for cjs
and umd
, containing numerous JavaScript files.
Despite their similarities, I am having difficulty distinguishing between the files within these folders:
URL: node_modules/react/umd
react-development.js
react-production.min.js
URL: node_modules/react/cjs
react-development.js
react-production.min.js
The same pattern can be seen in the react-dom folder as well, leaving me unsure of which specific files to utilize in building a React application or website.