Closed shreyas44 closed 3 years ago
Also, you can distinguish that the data is real or optimistic through the isLoading property. When isLoading is true, data is optimistic otherwhise when isloading is false the data is real.
Originally posted by @morrys in https://github.com/relay-tools/relay-hooks/issues/145#issuecomment-770204208
useMutation
Also, you can distinguish that the data is real or optimistic through the isLoading property. When isLoading is true, data is optimistic otherwhise when isloading is false the data is real.
Originally posted by @morrys in https://github.com/relay-tools/relay-hooks/issues/145#issuecomment-770204208
useMutation
docs