0

I'm trying to create a chat using relay graphql and react-native-gifted-chat. The problem I have is refreshing the query with each message both from me and other participants. The query already includes pagination, but I don't really know how to handle subscriptions. Is useSubscribeToInvalidationState good for this case, or would you recommend something else? Do you have any useful examples for that?

user11569827
  • 165
  • 1
  • 9

0 Answers0