Open Choongkyu opened 4 years ago
That's the TypeScript types missing definitions for useQueryLoader. I think work is ongoing to update the definitions, but you should probably open this issue on that repo instead as the problem isn't with Relay itself - https://github.com/relay-tools/relay-compiler-language-typescript
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
hello. I'm trying to import
useQueryLoader
following the docs here but am getting this error:Module '"../node_modules/@types/react-relay/hooks"' has no exported member 'useQueryLoader'
and I also briefly reviewed the source and wasn't able to finduseQueryLoader
. Is there anything I may need to do prior to trying to useuseQueryLoader
or can I be directed to API docs that reflect the current state of the API? Thank you.