Hacker News new | ask | show | jobs
by pspeter3 3346 days ago
One cautionary tale is to avoid generating code that exists at run time with Typescript. We managed to cause a severe page load regression for a while by generating Typescript for each DbObject and Projection (similar to a persistent GraphQL query).

My advice is to only generate types and interfaces if possible.