-
-
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
[addon-info] stateless component No propTypes defined!
on prop table in build mode
#1141
Comments
No propTypes defined!
on prop table in build mode
@Stupidism what happens when you run the build with |
@shilman It's working with |
Seems like something is stripping out the proptypes when the production flag is set. Perhaps a webpack plugin? Haven't had time to dig in, but it seems like something that should be easy to diagnose and fix. |
@shilman Things are getting even worse. I already fixed it temporarily in my repo. If you want to reproduce it. Just run
You will see the bug in |
Is there any progress on this? |
It seems to be fixed now. |
I have a simple stateless component:
Expected
It renders normally in dev mode, when I call
start-storybook -p 6006
Current
Props are missing in build mode, when I call
build-storybook -o gh-pages
online demo is here
The text was updated successfully, but these errors were encountered: