-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read properties of undefined (reading 'destroy') on live reload #227
Comments
It's a react strict mode thing. If you turn off strict mode in dev then it works fine. However that being said the code should be resilient to how react 18+ works so ideally the author can update the package to handle strict mode. |
This should definitely be fixed in this library, also caused an issue for me in Nextjs 14 |
try v3.4.3 |
I now get Error: Could not find Whenever I save. Even though the wrapper is in the layout file. I also see this error:
|
@raRaRa mind creating and sharing a minimal repo reproducing your setup? I'm unable to reproduce these hot reloading errors in my current setup - see repo here |
I upgraded to v3.4.3 and now the context value isn't there, even though I put around my app. Just so you know, I'm using my own container ref. |
I am also experiencing the issue: Using Next on version 3.4.3 of this package |
If anyone can share a minimal repo that reproduces this error and clear steps to take for reproduction, that would be more helpful. |
To reproduce, try editing |
I have a PR that should fix these issues: #234 |
Please try v3.4.4 to see if this issue is resolved. |
This issue appears to be resolved for me, running "react-scroll-parallax": "^3.4.4" and "next": "^14.0.3". |
Same here, resolved using: "^3.4.4" and "next": "^14.0.3". |
Running locally, whenever a live reload occurs, ex. after updating a css module file, the following error occurs:
The following is our implementation of the ParallaxProvider:
"next": "13.4.9", (downgraded due to issue seen here)
"react": "18.2.0",
"react-dom": "18.2.0",
"react-intersection-observer": "^9.5.2",
"react-scroll-parallax": "^3.4.2",
The text was updated successfully, but these errors were encountered: