A collection of codemods for updating legacy Redux Toolkit API usage patterns to modern patterns.
npm install @reduxjs/rtk-codemodsA collection of codemods for updating legacy Redux Toolkit API usage patterns to modern patterns.
To run a specific codemod from this project, you would run the following:
``bash
npx @reduxjs/rtk-codemods
yarn global add @reduxjs/rtk-codemods
rtk-codemods
`
``
node ./bin/cli.mjs
- createReducerBuilder
- createSliceBuilder
- createSliceReducerBuilder
- clone the repo
- change into the repo directory
- yarn
- yarn test
- yarn update-docs`