This repository was archived by the owner on Jul 19, 2019. It is now read-only.
Releases: reactjs/rackt-codemod
Releases · reactjs/rackt-codemod
Release list
v0.1.2
This release adds two more codemods for migrating to the new React Router API.
react-router/deprecate-context-history: replacecontext.historywithcontext.routerreact-router/deprecate-isActive-query: drop thequeryargument torouter.isActiveand 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.pushStateandhistory.replaceStatewithhistory.pushandhistory.replace, respectivelyhistory/deprecate-createPath-createHref-query: drop thequeryargument tohistory.createPathandhistory.createHrefand use a location descriptor instead
These are both ahead of breaking API changes for history v2.x.