react scroll show this error on use.
TypeError: Cannot read property 'spyCallbacks' of undefined
I had a similar issue. I think you need to move from the deprecated feature to the new implementation.
sorry @sunsheeppoplar i am not understanding that. Please guide me how to fix this issue if you know.
Thanks
I don't know how you're implementing it exactly, but here's the diff of what I had before and what I did to convert to the new usage of the ScrollLink module:
https://github.com/sunsheeppoplar/tav-murphy-portfolio/commit/93e230253c731bcc5d9d146e937116af73fddb87
Here's the documentation that I was referencing from react-scroll itself:
https://github.com/fisshy/react-scroll#create-your-own-linkelement
I have the same issue when i'm adding containerId to the Link. This is the thread related: https://github.com/fisshy/react-scroll/issues/445