You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By the way, I must say that I absolutely love this project. It's been very easy getting up-and-running. A few things I've noticed:
Default Webpack build minifies everything or the component names are preserved, which makes it difficult for the documentation aspect (using addWithInfo).
Either due to the minification or the fact that propTypes cannot be read when exported components are wrapped in higher order functions, I cannot get the propTables to pick up the propTypes
As you can see above, the component has been renamed to e (assuming it's just minified) and no propTypes are found when I enable them with { propTables: [SampleComponent] } when using addWithInfo. SampleComponent is wrapped with two higher order functions and then exported.
Thanks for your insights...
The text was updated successfully, but these errors were encountered:
By the way, I must say that I absolutely love this project. It's been very easy getting up-and-running. A few things I've noticed:
addWithInfo
).propTypes
cannot be read when exported components are wrapped in higher order functions, I cannot get thepropTables
to pick up thepropTypes
Here's a quick example:
As you can see above, the component has been renamed to
e
(assuming it's just minified) and nopropTypes
are found when I enable them with{ propTables: [SampleComponent] }
when usingaddWithInfo
.SampleComponent
is wrapped with two higher order functions and then exported.Thanks for your insights...
The text was updated successfully, but these errors were encountered: