I don't know how to go back from React 16 to React 15.
I had the following lines in my package.json file,
"dependencies": {
"react": "^15.6.1",
"react-dom": "^15.6.1",
}
}
then I launched
npm install --save react@^16.0.0 react-dom@^16.0.0
which installed react 16.1.1. Then I saw a bug and wanted to go back, but, even with the following lines, which specify the exact version of react to use, react 16 continues to be used.
"dependencies": {
"react": "15.6.1",
"react-dom": "15.6.1",
}
}
How do I go back to React 15?