HearTao/ts-react-hooks-tools

Maintaince things

Opened this issue · 0 comments

zardoy commented

Hi, @Kingwl do you still maintain this repo? eg would you be up for reviewing PRs? I want to make these improvements here:

  • Wrap code actions don't use auto import: I'd like to use prefix React. only if I already have React namespace import, but don't use prefix in other cases and add specific import instead, there is already createImportAdder so should be easy
  • Add kinds to code actions (there is new ui in vscode now)
  • Don't suggest to Wrap into React.memo inside JSX (its annoying, whats the purpose?)

I'd happy to help with all your current issues

And btw I implemented #109 by just reusing existing extract into function and then by converting params into destructure, so maybe you'd be also interesting to see it?