diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index 9bd22461fed..d824eb07f8d 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -74,7 +74,7 @@ "devDependencies": { "react": "^16.0.0", "react-dom": "^16.0.0", - "react-hot-loader": "next", + "react-hot-loader": "^3.1.3", "normalize.css": "^7.0.0" }, "optionalDependencies": { diff --git a/packages/react-scripts/scripts/init.js b/packages/react-scripts/scripts/init.js index de0faf0e6c2..811e44f8e9f 100644 --- a/packages/react-scripts/scripts/init.js +++ b/packages/react-scripts/scripts/init.js @@ -101,7 +101,7 @@ module.exports = function( command = 'npm'; args = ['install', '--save', verbose && '--verbose'].filter(e => e); } - args.push('react', 'react-dom', 'react-hot-loader@next', 'normalize.css'); + args.push('react', 'react-dom', 'react-hot-loader@^3.1.3', 'normalize.css'); // Install additional template dependencies, if present const templateDependenciesPath = path.join(