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
This will allow a developer to access the original component which might be important if that component itself exposes a wrapped component.
For example, take redux-form. When wrapping a stateless component with redux-form you can access it via MyForm.WrappedComponent, rather than having to export it yourself. When writing a story it would be good to be able to just render the stateless form without having to export it separately or putting it in a separate file.
I can put it into a pull request if you agree with the concept?
The text was updated successfully, but these errors were encountered:
This will allow a developer to access the original component which might be important if that component itself exposes a wrapped component.
For example, take
redux-form
. When wrapping a stateless component withredux-form
you can access it via MyForm.WrappedComponent, rather than having to export it yourself. When writing a story it would be good to be able to just render the stateless form without having to export it separately or putting it in a separate file.I can put it into a pull request if you agree with the concept?
The text was updated successfully, but these errors were encountered: