-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Addon-docs: Move to react-docgen for typescript prop tables #9837
Comments
@shilman was taking a look at the reasoning behind this issue and one of the issues I was trying to get around was this statement in https://github.com/reactjs/react-docgen#flow-and-typescript-support
This is noted in strothj/react-docgen-typescript-loader#80 (comment)
will |
@maniax89 please upvote this reactjs/react-docgen#352 There's currently no workaround for this issue. The rationale for the move is that, despite this limitation:
|
OK gang. We've reversed course on this: 👉👉👉 I documented this out in detail for anybody who cares, and will be updating the rest of the docs shortly. |
We currently use
react-docgen
for JS prop tables andreact-typescript-docgen-loader
(RDTL
) for TS prop tables. Now thatreact-docgen
supports Typescript natively, let's simplify our lives and our users' configurations by moving toreact-docgen
for all react prop table generation.RDTL
frompreset-typescript
Removereact-typescript-docgen-loader
frompreset-typescript
presets#68RDTL
frompreset-create-react-app
feat(cra): remove ts docgen loader presets#103react-docgen
The text was updated successfully, but these errors were encountered: