Hacker News new | ask | show | jobs
by acemarke 1696 days ago
The de-facto standard resource on React + TS is the community-maintained React TypeScript Cheatsheet site:

https://react-typescript-cheatsheet.netlify.app/

But yes, I'd love to have some of this info added to the official docs as well.

1 comments

Yeah we’d like to add something (potentially even toggles) but out of scope for the first iteration.
Sweet!

As an FYI for later reference, Lenz Weber has a Remark plugin that compiles TS to JS in code samples - we use that in the Redux Toolkit docs. I think Orta Therox may have something similar going on with his "Shiki Twoslash" tooling, but not entirely sure.