Tag: react-context
-
Wrap usePreloadedQuery in a custom hook
1 I’m new to working with react-relay and graphql. I’ve taken the initiative to create the custom hook below and I’m wondering if this is the correct way to do it or if it goes against the recommended practices in Relay. From the usePreloadQuery documentation I do notice that we use it on a deeper…