Skip to content

Commit

Permalink
Merge pull request #25782 from storybookjs/shilman/react-docgen-autom…
Browse files Browse the repository at this point in the history
…igration

CLI: Fix wording for `react-docgen` automigration
  • Loading branch information
ndelangen authored Feb 1, 2024
2 parents 3b0c99b + 9c9cc80 commit 83a4054
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions code/lib/cli/src/automigrate/fixes/react-docgen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ export const reactDocgen: Fix<Options> = {
but "typescript.reactDocgen" is unset.
In Storybook 8.0, we changed the default React docgen analysis from
"react-docgen-typescript" to "react-docgen", which dramatically faster
but doesn't handle all TypeScript constructs.
We can update your config to continue to use "react-docgen-typescript",
though we recommend giving "react-docgen" for a much faster dev experience.
"react-docgen-typescript" to "react-docgen". We recommend "react-docgen"
for most projects, since it is dramatically faster. However, it doesn't
handle all TypeScript constructs, and may generate different results
than "react-docgen-typescript".
Should we update your config to continue to use "react-docgen-typescript"?
https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#react-docgen-component-analysis-by-default
`;
Expand Down

0 comments on commit 83a4054

Please sign in to comment.