question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed propType: Invalid prop `styles` supplied to `TransitionMotion` when upgrading to 0.4.1 from 0.3.1

See original GitHub issue

Is 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:closed
  • Created 8 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

29reactions
Egor-Koldasovcommented, Apr 6, 2017

For google: the key should be a string, I didn’t notice my that my key was a number.

1reaction
etiennejcharlescommented, Mar 27, 2018

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found