718 B
718 B
Upgrading redux
Getting the Source
git clone https://github.com/reactjs/redux
cd redux
git checkout v4.0.5 # checkout the right version tag
Building
npm install
npm run build
cp dist/redux.js <gecko-dev>/devtools/client/shared/vendor/redux.js
Patching react-redux
- open
redux.js - Add the version number to the top of the file:
/** * react-redux v4.0.5 */ - Replace all instances of
Function('return this')()withglobalThis. See Bug 1473549.