facebook / facebook/relay

[experimental] trying to import useQuery issues error

Open
#3,141 2 comments 0 reactions 0 assignees View on GitHub
wontfix
Dominant language
Rust
Stars
19k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

hello. I'm trying to import `useQueryLoader` following the [docs here](https://relay.dev/docs/en/experimental/api-reference) 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 find `useQueryLoader`. Is there anything I may need to do prior to trying to use `useQueryLoader` or can I be directed to API docs that reflect the current state of the API? Thank you.

Screen Shot 2020-07-21 at 4 33 33 PM

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.