redux-toolkit icon indicating copy to clipboard operation
redux-toolkit copied to clipboard

Release `createReducer/createSlice` object argument codemods

Open markerikson opened this issue 3 years ago • 1 comments

They're currently in #2303 , which needs to be updated. We should release them alongside 1.9 to give folks a chance to more easily update and avoid the warnings.

markerikson avatar Aug 14 '22 01:08 markerikson

We should use https://github.com/reactjs/react-codemod as an example of publishing these, I think.

Other resources:

  • https://www.codeshiftcommunity.com/docs/
    • https://www.codeshiftcommunity.com/docs/ecosystem
  • https://gist.github.com/caseywatts/b8fffb51180fe44cd3706407d61150a3

markerikson avatar Aug 16 '22 02:08 markerikson

The codemods got merged into their own folder in #2602 , but we need to figure out how to package and publish these, and have instructions for people to use them.

Would love help with this!

markerikson avatar Oct 08 '22 02:10 markerikson

Done! Published as @reduxjs/rtk-codemods . Can tweak and update as needed.

markerikson avatar Oct 15 '22 01:10 markerikson