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
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
When I click on the details of my component, I expect a detail view of my component, however a modal pops up with following console errors:
user-bundle.js:1394 Warning: You are manually calling a React.PropTypes validation function for the `visible` prop on `Modal`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.
Here is my component:
// src/components/Avatar/index.jsimportReactfrom"react";constAvatar=()=>(<div>This will become an avatar</div>);Avatar.propTypes={};exportdefaultAvatar;
It is not on the page (you are seeing the front page), and due to the console message it is a JavaScript error... I am experiencing the same too, when i tried to pull carte blanche into an existing project...
index.js:302 Generating metadata failed Error: getNodeFromInstance: Invalid argument.
at invariant (invariant.js:38)
at Object.getNodeFromInstance (ReactDOMComponentTree.js:156)
at Object.findDOMNode (findDOMNode.js:50)
at Constructor._getDOMTarget (velocity-component.js:128)
at Constructor.runAnimation (velocity-component.js:107)
at Constructor.componentDidMount (velocity-component.js:66)
at ReactCompositeComponentWrapper.invokeComponentDidMountWithTimer (ReactCompositeComponent.js:63)
at CallbackQueue.notifyAll (CallbackQueue.js:66)
at ReactReconcileTransaction.close (ReactReconcileTransaction.js:79)
at ReactReconcileTransaction.closeAll (Transaction.js:202)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I click on the details of my component, I expect a detail view of my component, however a modal pops up with following console errors:
Here is my component:
and my webpack config:
Can you tell me if I'm doing something wrong?
The text was updated successfully, but these errors were encountered: