Hacker News new | ask | show | jobs
by pimterry 2227 days ago
> Any pro typescripter have any tips for how best use it in existing Node/React codebase?

https://react-typescript-cheatsheet.netlify.app is a super detailed guide to exactly this, complete with worked examples for lots of common cases.

Styled Components has a specific section in the docs on using SC with TypeScript, which might be useful too: https://styled-components.com/docs/api#typescript