Describe the bug
I recently upgraded to 6.0.0-rc.13 and I'm getting some errors related to React Docgen Typescript. Is there a way to turn off this step?
Steps to reproduce
main.js to run all storybook filesExpected behavior
Ideally, I'd love it to just work out of the box. If there are any changes I need to make, I'd love to know
Screenshots

Hey @segunadebayo, big fan of Chakra UI! A few things from looking at the Storybook setup:
npx sb@next upgrade --prerelease. That way all the storybook packages are on the latest version.@storybook/preset-typescript. Zero-config typescript is built in now.After doing those two steps it's working out of the box on my machine.
If you want, you can turn off react-docgen-typescript by adding the following line to your .storybook/main.js:
module.exports = {
stories: ["../packages/**/*.stories.tsx"],
typescript: {
reactDocgen: false,
},
}
react-docgen-typescript is used to automatically generate prop tables and controls in SB6 if you have addon-docs and addon-controls enabled. On my machine, turning it off reduced the startup time from 32s to 9s.
Let me know if that works for you!
Amazing! Thank you @shilman.
It worked!
I'm forever a big fan of Storybook 馃挅