react-relay Questions

1

I am struggling with react-router and relay integration. As of now, I stick to this example It uses the useLazyLoadQuery hook, and although everything seems to work just fine, I also see another wa...
Westmoreland asked 13/7, 2021 at 8:12

1

Solved

Trying out relay with react and ran into this today. Here is what I've done so far. Root Query: query { tasks { id taskName taskStatus userId } } React component hierarchy App ↳--TaskL...
Gentlefolk asked 22/4, 2019 at 16:25

1

Solved

I'm trying to add a user using relay , below is my schema file schema.graphql createUser(input: CreateUserInput!): UserPayload input CreateUserInput { clientMutationId: String data: Crea...
Britneybritni asked 14/3, 2018 at 14:50

0

I'm trying to create a live search-result component(lazy load one). It works perfectly for the first time but refetch doesn't update the data. I see the request and respoonse in Network tab! so it ...
Betterment asked 18/7, 2017 at 8:6

1

I want to use mutations to upload files too, but I can't find any way to track the progress of the mutation (its upload, similar to the XMLHttpRequest progress event). Afaik relay is using fetch, b...
Worthen asked 18/10, 2016 at 8:55
1

© 2022 - 2024 — McMap. All rights reserved.