issues
search
relay-tools
/
relay-hooks
Use Relay as React hooks
https://relay-tools.github.io/relay-hooks/docs/relay-hooks.html
MIT License
540
stars
56
forks
source link
fix skip & dispose fetcher
#153
Closed
morrys
closed
3 years ago
morrys
commented
3 years ago
issue:
https://github.com/relay-tools/relay-hooks/issues/152
FetchResolver
now when the fetcher dispose is requested, the environment and the query are reset so that the fetcher is completely reset.
QueryFetcher
memorized the previous skip value in order to correctly manage the rerender
when the skip is requested, the fetch is skipped and the previous fetch disposed
issue: https://github.com/relay-tools/relay-hooks/issues/152
FetchResolver
QueryFetcher