Skip to content
New issue

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

snapshot.getDeps_UNSTABLE is not a function or its return value is not iterable #157

Open
doshdik opened this issue Feb 17, 2022 · 1 comment

Comments

@doshdik
Copy link

doshdik commented Feb 17, 2022

When trying to use <DebugObserver/> with "recoil": "^0.6.1", i get this error on page load.

index.js:59 Uncaught TypeError: snapshot.getDeps_UNSTABLE is not a function or its return value is not iterable
at index.js:59:1
at Array.forEach ()
at RecoilizeDebugger (index.js:58:1)
at renderWithHooks (react-dom.development.js:14985:1)
at mountIndeterminateComponent (react-dom.development.js:17811:1)
at beginWork (react-dom.development.js:19049:1)
at HTMLUnknownElement.callCallback (react-dom.development.js:3945:1)
at Object.invokeGuardedCallbackDev (react-dom.development.js:3994:1)
at invokeGuardedCallback (react-dom.development.js:4056:1)
at beginWork$1 (react-dom.development.js:23964:1)

@chriszrc
Copy link

There's a fix for this mentioned here - #136 (comment)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants