Hey all, I'm trying to use this react package from NPM following the setup from this tutorial. But I keep getting an "Invalid hook call" warning when I run it. I can only image it's because the package is using a FunctionComponent rather than a regular class. Any ideas?
t
turansky
07/26/2021, 2:01 PM
Do you have example with hook call?
b
bsimmons
07/26/2021, 2:06 PM
I'm not sure what you mean. Do you want a kotlin example of what I'm trying?
t
turansky
07/26/2021, 2:08 PM
Yes
b
bsimmons
07/26/2021, 2:48 PM
Hmmm, in creating an example I've discovered that an old dependency was causing this issue.