Closed IamAhsanMani closed 1 month ago
couldn't access the first sandbox
@wingkwong try now link updated.
@wingkwong is bug find out. Because urgently need this package to use in my project.
I haven't checked in depth. Just skimmed through once, have you tried bumping your react version? Currently 0.8.2 is using react ^18.2.0
while your sandbox is still using 16. Also same for react-dom
.
Hello @wingkwong as you said i upgraded by project packages to latest versions.
Here is my package.json
But there is still same useState error
Don't know what is the issue if you please help me out it would be great
I didn't see the error in your updated sandbox.
@wingkwong No the error is generating in my local project.
The reported issue was due to the outdated react version, which was proven after you upgraded the version in the sandbox. I can't really help if this happens in your local project. Probably you may cross check with the sandbox one to see the difference or try remove node_modules and reinstall again.
Issue resolved by upgrading to react and react-dom latest version and plus make sure to clear cache and node_module and reinstall.
I want to use this package in my project but don't know why it throw error
Cannot read properties of null (reading 'useState')
.I even try it on codesandbox. here is codsandbox link https://codesandbox.io/p/sandbox/beautiful-austin-vdk8cp?workspaceId=7fe15d62-b82e-4f84-82f1-c0f57b4367e3
In version ^0.2.6 it work like here https://codesandbox.io/p/sandbox/magical-quiz-xt2l1