react
and react-dom
packages. After installing it using npm install --save react react-dom
, you can use:NODE_ENV
to production
(using envify or webpack's DefinePlugin). A minifier that performs dead-code elimination such as UglifyJS is recommended to completely remove the extra code present in development mode.sudo
if you don't have permissions.sudo
if you don't have the permissions.