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
ArgsTable: Errors on TS components whose names are keywords #13301
Comments
Do you have a repro repo you can share? |
I will create one |
@hipstersmoothie Mind taking a quick look? |
Seeing if we can get a fix in styleguidist/react-docgen-typescript#313 |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
closing as dupe to #11980 |
Bug or support request summary
I wrote a functional component with the function name "Switch". The storybook was strating and loading for ever. There was no indicator that somthing went wrong.
As I opened the console I saw an error leading me to fixing the name of my component into something other than switch.
I am not sure if this is an edge case but if this error would have lead the storybook to crash or there would have been a message in the view, my search wouldn't have taken so long.
Steps to reproduce
Please specify which version of Storybook and optionally any affected addons that you're running
Affected platforms
Screenshots / Screencast / Code Snippets (Optional)
The text was updated successfully, but these errors were encountered: