-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
When trying to use this component in Storybook, I get the following error:
Element ref was specified as a string (wrapper) but no owner was set. This could happen for one of the following reasons:
1. You may be adding a ref to a functional component
2. You may be adding a ref to a component that was not created inside a component's render method
3. You have multiple copies of React loaded
See https://fb.me/react-refs-must-have-owner for more information.
Invariant Violation: Element ref was specified as a string (wrapper) but no owner was set. This could happen for one of the following reasons:
1. You may be adding a ref to a functional component
2. You may be adding a ref to a component that was not created inside a component's render method
3. You have multiple copies of React loaded
See https://fb.me/react-refs-must-have-owner for more information.
Looks like it's due to using string refs.
Metadata
Metadata
Assignees
Labels
No labels