Last active
October 23, 2019 22:38
-
-
Save helielson/4310663052023d2744bfaceeeac38aef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import useLazyLoadQuery from 'react-relay/lib/relay-experimental/useLazyLoadQuery'; | |
function Component () { | |
const { root } = useLazyLoadQuery(ScreenAQuery, null, { | |
fetchPolicy: 'store-or-network', | |
}); | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment