This repository has been archived by the owner on Jul 19, 2019. It is now read-only.
Releases: reactjs/rackt-codemod
Releases · reactjs/rackt-codemod
v0.1.2
This release adds two more codemods for migrating to the new React Router API.
react-router/deprecate-context-history
: replacecontext.history
withcontext.router
react-router/deprecate-isActive-query
: drop thequery
argument torouter.isActive
and use a location descriptor instead
v0.1.1
v0.1.0
This is the initial packaged release. It includes the following two codemods:
history/deprecate-pushState-replaceState
: replacehistory.pushState
andhistory.replaceState
withhistory.push
andhistory.replace
, respectivelyhistory/deprecate-createPath-createHref-query
: drop thequery
argument tohistory.createPath
andhistory.createHref
and use a location descriptor instead
These are both ahead of breaking API changes for history v2.x.