You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The unauthenticated fetch function causes an error in the useThing hook: Failed to execute 'fetch' on 'Window': Illegal invocation
(I expect this is a problem for all exposed components
$ npx envinfo --system --npmPackages --binaries --npmGlobalPackages --browsers
System:
OS: Linux 5.4 Manjaro Linux
CPU: (4) x64 Intel(R) Core(TM) i5-7440HQ CPU @ 2.80GHz
Memory: 2.71 GB / 15.52 GB
Container: Yes
Shell: 5.1.8 - /bin/bash
Binaries:
Node: 16.7.0 - /usr/bin/node
Yarn: 1.22.11 - /usr/bin/yarn
npm: 7.21.0 - /usr/bin/npm
I got the issues with the packages exactly as in the demo.
I tried updating them afterwards but got some compilation issues for which I currently do not have time :sweat_smile:
Additional information
The text was updated successfully, but these errors were encountered:
Search terms you've used
fetch, window, invocation error
Bug description
The unauthenticated fetch function causes an error in the useThing hook:
Failed to execute 'fetch' on 'Window': Illegal invocation
(I expect this is a problem for all exposed components
To Reproduce
/pages/index.jsx:
/components/test/index.jsx
Expected result
The Thing object of the currently queries item should be retrieved when it exists
Actual result
The internal fetch function in the useThing() hook fails with the error:
Failed to execute 'fetch' on 'Window': Illegal invocation
Environment
Please run
npx envinfo --system --npmPackages --binaries --npmGlobalPackages --browsers
in your project folder and paste the output here:
Additional information
The text was updated successfully, but these errors were encountered: