Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'state') #414
Replies: 4 comments
-
Hey @rohansaaram ! Thanks for raising this issue. I have used |
Beta Was this translation helpful? Give feedback.
-
https://codesandbox.io/s/throbbing-smoke-75uxze Copied this from the docs here https://github.com/express-labs/pure-react-carousel#hooks-and-usecontext
Thanks |
Beta Was this translation helpful? Give feedback.
-
The problem is you are trying to use The fix is to move the I am moving this issue to the discussion board. Let's continue discussing this there if you have any further questions or concerns. |
Beta Was this translation helpful? Give feedback.
-
@rohansaaram converted the issue to the discussion. |
Beta Was this translation helpful? Give feedback.
-
Hello I am getting this error when I use withStore() or even hooks as described in the docs
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'state').
I actually want to remove display of button when there are no more slides to scroll further.
Thanks for the wonderful library.
Beta Was this translation helpful? Give feedback.
All reactions