Bugs and bugs around react-docgen
See original GitHub issueQuestion
How to pass custom config to react-docgen-typescript-loader ? Description Hi, First of all, I love the project, much nicer experience than with styleguidist!
I’m trying to use it with typescript, which is working fine except PropsTable
which renders empty.
I had similar issue when working with styleguidist, and solution for that was to pass my custom tsconfig.json to do react-docgen-typescript . Unfortunately I don’t know how to do that with docz, I made changes locally inside docz code so react-docgen-typescript-loader
reads my config and it works perfectly, but it’s not a solution 😃 Is there a way to do that via modifyBundlerConfig
?
Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Comments:30 (10 by maintainers)
Top Results From Across the Web
react-docgen-typescript-plugin | Yarn - Package Manager
A webpack plugin to inject react typescript docgen information. ... Bug Fix. Update typescript and fix deprecation warnings #70 (a.savoskin@kvarta.ru) ...
Read more >ArgsTable breaks if the component's displayName doesn't ...
Describe the bug If a story for a React component renders an ArgsTable block, and the component's displayName doesn't match its export name, ......
Read more >@storybook/builder-vite - NPM Package Overview - Socket
Docgen is supported in vue and react, and there are two docgen options when using react ... Have a look at the GitHub...
Read more >@storybook/vue - Awesome JS
React-vite: Pin react-docgen version #20300 ... Typescript: Fix bug with meta not working well as generic parameter for StoryObj #20165; SvelteKit: Support ...
Read more >Creating a React Component Library With Typescript Using ...
It also means that issues such as bug fixes and adding new ... yarn add -D react-docgen-typescript// Adds documentation to components
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@pedronauck Hi when do you think you will be releasing v0.14?
In the next release (v0.14) I’ll introduce a new way to parse props using react-docgen. Instead of using a babel plugin for prop-types and a loader for typescript, everything now is centralized in a process using data server:
https://github.com/pedronauck/docz/blob/v0.14/core/docz-core/src/states/props.ts
With these changes, I think that we will improve a lot the performance since all props extracting logic will not belong to webpack anymore.
I’ll finish the v0.14 that will have some other improvements, then I came back here to test and close this issue 🙏