Hacker News new | ask | show | jobs
by garfij 3361 days 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.

1 comments

Unless you use typescript or coffeescript. In which case you're on your own.
Interesting, 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)
Typescript doesn't do development vs. production builds?
I 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.