Closed this issue 5 years ago · 2 comments
npx react-codemod rename-unsafe-lifecycles --force 紧接着输入报错js所在的文件夹 然后选择JavaScript with Flow,如下图