Warning: Failed prop type: Invalid prop `data` of type `object` supplied to `Carousel`, expected `array`.
See original GitHub issueEven so I use the following code:
<Carousel
data={ this.images instanceof Array ? this.images : [] }
... />
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Warning: Failed prop type: Invalid prop `data` of type `object ...
I am using react-native-snap-carousel, It worked fine, It fetches data fine but i am ...
Read more >Warning: Failed prop type: Invalid prop `data` of type ... - GitHub
The error you're currently facing has nothing to do with the original issue: it's a warning from React before version 16 (see this...
Read more >type check failed for prop "data". Expected Object, got Array
I'm using laravel-vue-pagination getting this error Invalid prop: type check failed for prop "data". Expected Object, got Array. code is. Copy Code
Read more >invalid prop `rows` of type `object` supplied to `forwardref ...
Warning : Failed prop type: Invalid prop rows of type object supplied to ForwardRef(DataGrid), expected array.` Update after i remove the Object.fromEntries.
Read more >Invalid prop 'value' of type 'object' supplied to 'TextInput' React ...
Coding example for the question Failed prop type: Invalid prop 'value' of type 'object' supplied to 'TextInput' React Native-React Native.
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 FreeTop 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
Top GitHub Comments
Not sure why this issue is closed, I still have the issue:
Here is my code:
I am experiencing this error now in conjunction with mobx ObservableArray.