-
Notifications
You must be signed in to change notification settings - Fork 55
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
Uncaught TypeError: Cannot read properties of null (reading 'unsubscribe') #216
Comments
I would have raised a PR to fix this issue, but couldn't find this particular line of code in the src folder of react-sweet-state. |
Can you try upgrading to latest, v2.7.x ? Those lines of code do not exist anymore |
You are right! @albertogasparin. I checked the source code of v2.6.0. I found this line inside hook.js. But its not found in further releases. I will upgrade the package to latest and test it. |
Hi @albertogasparin. I cannot use 2.7.1 since it has another bug. Focus on a controlled input text box which has some text already, place the cursor in between words and on typing the cursor moves to the end of the text abruptly. |
2.7.1 has this issue precisely: #178 |
Ok, that is a different limitation tho (affecting 2.6.0 too). Happy to keep talking about solutions on #178 |
File: /node_modules/react-sweet-state/lib/esm/components/hook.js
Its a runtime error. happens randomly. version "react-sweet-state": "2.6.0". Critical bug, crashes the entire website
I am using react-sweet-state with react": "18.2.0" and "vite": "^4.2.1"
The text was updated successfully, but these errors were encountered: