Bug 1479746 - (part 3) Instructions to upgrade react-router-dom library. r=jdescottes
authorBelén Albeza <balbeza@mozilla.com>
Tue, 27 Nov 2018 12:05:54 +0000
changeset 507462 99fb2b79579902eb3365c87202ad3deea9c484af
parent 507461 1932b5f4e83771722ac243e4433d16e4d3875859
child 507463 2f8233496ee8d83688e27d266e5dd61ba29ad5b1
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjdescottes
bugs1479746
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1479746 - (part 3) Instructions to upgrade react-router-dom library. r=jdescottes Differential Revision: https://phabricator.services.mozilla.com/D12743
devtools/client/shared/vendor/REACT_ROUTER_DOM_UPGRADING.md
new file mode 100644
--- /dev/null
+++ b/devtools/client/shared/vendor/REACT_ROUTER_DOM_UPGRADING.md
@@ -0,0 +1,23 @@
+[//]: # (
+  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
+)
+
+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('devtools/client/shared/vendor/react')`
+
+6. Update the version below:
+
+The current version is 4.3.1