5 ms·
> For each of these new deprecations, we've provided a codemod to automatically migrate your code. They are available as part of the react-codemod project. The
by garfij 10y ago
> For each of these new deprecations, we've provided a codemod to automatically migrate your code. They are available as part of the react-codemod project.
They gave you tools to automatically fix any new warnings that came from this. I honestly don't know how they could have made it any easier.
- spion 10y agoUnless you use typescript or coffeescript. In which case you're on your own.
- spion 10y agoInteresting, I didn't expect a downvotes. If this is factually incorrect, please do point it out. I looked at the tool and it seems it only works on plan JS and Facebook's JS dialect (flowtype)
- tracker1 10y agoTypescript doesn't do development vs. production builds?
- spion 10y agoI don't see how thats relevant? The point is that the codemod tool doesn't work on TypeScript. So you still have to fix the warnings manually. I don't think its too bad, just saying that the tool doesn't solve the problem for everyone.