Open Barsnes opened 4 days ago
After testing and debugging, using react-docgen-typescript locally makes Storybook unbelievably slow.
react-docgen-typescript
I changed our setup to only use it in production, and locally use react-docgen, which has no performance issues. This is the same bug as reported in https://github.com/storybookjs/storybook/issues/28269.
react-docgen
When the issue above is resolved, we can change to use this:
reactDocgen: 'react-docgen-typescript', reactDocgenTypescriptOptions: { compilerOptions: { allowSyntheticDefaultImports: false, esModuleInterop: false, }, tsconfigPath: resolve(__dirname, '../../packages/react/tsconfig.json'), }
After testing and debugging, using
react-docgen-typescript
locally makes Storybook unbelievably slow.I changed our setup to only use it in production, and locally use
react-docgen
, which has no performance issues. This is the same bug as reported in https://github.com/storybookjs/storybook/issues/28269.When the issue above is resolved, we can change to use this: