We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Describe the bug When I call recoil's useRecoilState() I get the following error (however the function seems to be working correctly):
useRecoilState()
A React renderer without React 18+ API support is being used with React 18+.
I don't get any error when I use recoil with React. Perhaps I need to setup more/different paths in tsconfig.json?
tsconfig.json
To Reproduce
Clone the repo and npm install && npm run dev. The problem is here.
npm install && npm run dev
Quick Codesandbox code I made, runs with an error related to a renderer so I assume it's the same issue.
The text was updated successfully, but these errors were encountered:
I don't believe it's anything for you to fix, no.
Offending function in Recoil can be found here: https://github.com/facebookexperimental/Recoil/blob/f1d2969e0c2dac25877d051829b18cd6addbd0c9/packages/recoil/core/Recoil_ReactMode.js#L35-L74
Sorry, something went wrong.
ReactCurrentDispatcher
Successfully merging a pull request may close this issue.
Describe the bug
When I call recoil's
useRecoilState()
I get the following error (however the function seems to be working correctly):A React renderer without React 18+ API support is being used with React 18+.
I don't get any error when I use recoil with React. Perhaps I need to setup more/different paths in
tsconfig.json
?To Reproduce
Clone the repo and
npm install && npm run dev
. The problem is here.Quick Codesandbox code I made, runs with an error related to a renderer so I assume it's the same issue.
The text was updated successfully, but these errors were encountered: