react-docgen-typescript icon indicating copy to clipboard operation
react-docgen-typescript copied to clipboard

Move to async functions

Open quantizor opened this issue 3 years ago • 0 comments

I noticed poking around that the parser code has some bottlenecks in the form of synchronous file I/O: https://github.com/styleguidist/react-docgen-typescript/blob/master/src/parser.ts

Is there a technical limitation that precludes using promises and async I/O? Would probably improve bundling speed for larger projects.

quantizor avatar Aug 02 '22 15:08 quantizor