useBounds() hook undefined #953
Unanswered
dreammonkey
asked this question in
Q&A
Replies: 1 comment
-
hooks can only be used within their context, useBounds needs to be within the bounds component which gives it context. |
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
-
I'm trying to implement the useBounds hook as shown in the example here
But it seems the hook is undefined, am I doing something wrong ?
https://codesandbox.io/s/optimistic-brahmagupta-skj3vz?file=/src/App.js
Beta Was this translation helpful? Give feedback.
All reactions