News for hackers. Stuff that matters.
Re:React Docs Beta – rewritten with hooks and interactive ex... by danabramov on Saturday October 23, 2021 @04:16PM (#28971843)
Yeah we’d like to add something (potentially even toggles) but out of scope for the first iteration.
Re:React Docs Beta – rewritten with hooks and interactive ex... by acemarke on Saturday October 23, 2021 @04:19PM (#28971861)
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.