Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 873 Bytes

REACT_ROUTER_DOM_UPGRADING.md

File metadata and controls

23 lines (15 loc) · 873 Bytes

Follow this steps to upgrade the react-router-dom library:

  1. Clone the repository (note: this is a monorepository, it includes other libraries too): git clone git@github.com:ReactTraining/react-router.git

  2. Install build dependencies: cd react-router npm install

  3. Run a build : npm run build

  4. Grab the UMD build of react-router-dom, which is located in packages/react-router-dom/umd/react-router-dom.js and copy it into Firefox source tree.

  5. Edit react-router-dom.js and change require('react') for require('resource://devtools/client/shared/vendor/react.js')

  6. Update the version below:

The current version is 4.3.1