News for hackers. Stuff that matters.
Re:When to Use TypeScript – A Detailed Guide Through Common ... by geewee on Monday April 08, 2019 @01:20AM (#19602358)
Well, in React's case if you use PropTypes, the rewrite is mostly mechanical, and can be automated via things like https://github.com/lyft/react-javascript-to-typescript-trans...

But many tools, flow, Python, TS allow you to incrementally add types to an existing codebase. That way refactoring isn't some herculean effort, but something you can do for new features, or gradually over time.

There are no comments on this comment yet.