Skip to content
This repository has been archived by the owner on Jun 12, 2020. It is now read-only.

Upgrade React 16 #84

Closed
rwieruch opened this issue Oct 24, 2017 · 1 comment
Closed

Upgrade React 16 #84

rwieruch opened this issue Oct 24, 2017 · 1 comment

Comments

@rwieruch
Copy link
Member

rwieruch commented Oct 24, 2017

The 4th edition of the book uses React 16. If you started to read the book in a previous edition, but grabbed the recent 4th edition, you need to upgrade your dependencies in your package.json file. The easiest way to do so is executing the following commands on the command line in your project:

npm i -g npm-check-updates
npm-check-updates -u
npm install

It is a global npm module that can be used to update your dependencies, such as react or react-dom, in your package.json file. I should’ve mentioned it in the first place, for people grabbing the new edition who have an old React version installed.

See also #83

@rwieruch
Copy link
Member Author

Closing this because React 16 was a long time ago and I don't expect people to run into this anymore.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant