We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 972dad1 commit d68bd03Copy full SHA for d68bd03
README.md
@@ -1,8 +1,9 @@
1
# relay-query-lookup-renderer
2
Same as Relay Modern's QueryRenderer, but will check the store for data before fetching.
3
4
-Taken from react-relay QueryRenderer with one addition.
+Taken from react-relay QueryRenderer with two additions.
5
- lookup prop will check the relay store for data first and if present will immediately call `render` with props.
6
+- retain prop will prevent the component from garbage collecting when unmounted.
7
8
This will not be necessary if this PR is merged:
9
https://github.com/facebook/relay/pull/1760
0 commit comments