Hello! I trying to use it, but it doesn't working #834
andrewkazan
started this conversation in
General
Replies: 1 comment
-
|
Hey, try 2.0.8. It should now support react less than 19. https://github.com/xiaolin/react-image-gallery/releases/tag/v2.0.8 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
// tsconfig.json
"react": "^18.3.1",
"vite": "^6.2.1",
"react-image-gallery": "^2.0.7",
"typescript": "^5.2.2",
// tsconfig.json
"compilerOptions": {
"target": "ESNext",
...
// error
chunk-KPD4VVXB.js?v=db81dff9:9981 Uncaught Error: Objects are not valid as a React child (found: object with keys {$$typeof, type, key, ref, props}). If you meant to render a collection of children, use an array instead.
at throwOnInvalidObjectType (chunk-KPD4VVXB.js?v=db81dff9:9981:17)
at reconcileChildFibers2 (chunk-KPD4VVXB.js?v=db81dff9:10611:15)
...
Beta Was this translation helpful? Give feedback.
All reactions