Failed propType: Invalid prop `styles` supplied to `TransitionMotion` when upgrading to 0.4.1 from 0.3.1
See original GitHub issueIs the prop name no longer styles
?
Additionally, I get this error:
TypeError: destStyles.map is not a function
at getInitialState (http://localhost:3001/assets/bundles/app.self.js?body=1:38055:63)
at new Constructor (http://localhost:3001/assets/bundles/app.self.js?body=1:43848:54)
at ReactCompositeComponentMixin.mountComponent (http://localhost:3001/assets/bundles/app.self.js?body=1:44286:18)
at wrapper [as mountComponent] (http://localhost:3001/assets/bundles/app.self.js?body=1:51193:21)
at Object.ReactReconciler.mountComponent (http://localhost:3001/assets/bundles/app.self.js?body=1:51823:35)
at ReactCompositeComponentMixin.mountComponent (http://localhost:3001/assets/bundles/app.self.js?body=1:44363:34)
at wrapper [as mountComponent] (http://localhost:3001/assets/bundles/app.self.js?body=1:51193:21)
at Object.ReactReconciler.mountComponent (http://localhost:3001/assets/bundles/app.self.js?body=1:51823:35)
at ReactDOMComponent.ReactMultiChild.Mixin.mountChildren (http://localhost:3001/assets/bundles/app.self.js?body=1:50520:44)
at ReactDOMComponent.Mixin._createContentMarkup (http://localhost:3001/assets/bundles/app.self.js?body=1:45605:32)
Issue Analytics
- State:
- Created 8 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Failed propType: Invalid prop `component` supplied to `Route ...
This was it! I spent 50 minutes googling, trying different import styles - ES5 and ES6, but it was a simple typo. Thank...
Read more >How to validate React props using PropTypes - LogRocket Blog
Learn how to validate props with React PropTypes, React's internal mechanism for adding type checking to component props.
Read more >How to Use PropTypes in React - freeCodeCamp
We can use PropTypes to validate any data we are receiving from props. But before using it we will have to import it...
Read more >How To Use PropTypes In React - Web Dev Simplified Blog
PropTypes is a tool in React that lets you validate the structure ... Warning: Failed prop type: Invalid prop age of type string...
Read more >invalid prop `rows` of type `object` supplied to `forwardref ...
I am using react-native-snap-carousel, It worked fine, It fetches data fine but i am getting 2 warnings in that app. Warning: Failed prop...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For google: the key should be a string, I didn’t notice my that my key was a number.
Why do I get the feeling that this should mentioned as a error coming from “React-Motion” - Il create a PR when I get the chance ~ Shouldn’t have to look on google to find that!