-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Failed prop type warning but my component is not even rendered #431
Comments
Basically all required props on |
Ahh ... this is a problem on my side, nevermind :) |
This was referenced Dec 28, 2020
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there. First of all great work on storybook. I've been using it for a couple of weeks now, and it's a great tool. Thanks!
I'm using
@kadira/storybook@2.11.0
and I'm getting this weird PropType error on initial load, even though my componentchildren
are not even rendered yet. After that, everything works as expected. Anyway, it's not a problem at all, just wanted to report it. Could be an error on my side ...I'm using a "portal" technique to similar to
react-portal
to open a menu in the body. Here's my simplified codeThe render function of
Menu
only rendersButton
and only after user clicks on that button, the menu is rendered insideportal
node which is appended tobody
.This is my storybook
webpack.config.js
And this is the error I get
The text was updated successfully, but these errors were encountered: