http://dev.apollodata.com/react/mutations.html
I am trying out with optimisticResponse
, but i am confused... and couldn't get it working on my local.
My questions are:
- will
optimisticResponse
update theprops
and hence the re-render? how important is__typename: 'Mutation'
can you leave it? updateQueries
is for new record appear? is this function trigger automatically or you need to invoke it?
is there any full example of out there which include the apollo server side?