-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Some experimental components show as <Unknown>
in addon-info story source
#2566
Comments
Tangently related, there’s some neat standard hooks coming out around refs: https://reactjs.org/docs/hooks-reference.html#useref |
Thanks @vpicone for creating an issue here and in the Storybook! Let's see how Storybook resolves the issue. How Storybook would work with hooks is an interesting topic, too. |
We've marked this issue as stale because there hasn't been any activity for a couple of weeks. If there's no further activity on this issue in the next three days then we'll close it. Thanks for your contributions. |
Hi there! 👋 If you're wondering why this issue was moved, we're currently updating our repo structure so that every package is found in the same project. This should not have any impact for you, but we wanted to give you a heads up in case you were wondering what is going on. If you have any questions, feel free to reach out to us on Slack or contact us at: [email protected]. Thanks! |
We've marked this issue as stale because there hasn't been any activity for a couple of weeks. If there's no further activity on this issue in the next three days then we'll close it. You can keep the conversation going with just a short comment. Thanks for your contributions. |
As there's been no activity since this issue was marked as stale, we are auto-closing it. |
Detailed description
When wrapped with
React.forwardRef
, some components show up as<Unknown>
in addon-info's story source. I've outlined some potential solutions in a storybook issue: storybookjs/storybook#4787. Ideally, we wouldn't need to change anything about the components and storybook would just more intelligently handle HoCs, especially those provided by react. That aside, one of those solutions might be preferable if they don't do anything and the experimental features need to get shipped.The text was updated successfully, but these errors were encountered: