TanStack Table V9 cut TypeScript type-checking cost 62–86% via named feature maps, interface-based internal types, "in out" variance annotations, and explicit type arguments in adapter hooks.
It's a useful type performance learnings for other library authors!
tanstack.com/blog/tanstac...
TanStack Table V9's types do a lot more than V8's did. Here's how we cut type instantiations by 62-86% across every package between alpha.54 and beta.12 to keep the editor experience feeling instant.