Apollo Optimistic UI does not work in Mutation Component?
问题 I am using <Mutation /> component which has Render Prop API & trying to do Optimistic Response in the UI. So far I have this chunk in an _onSubmit function - createApp({ variables: { id: uuid(), name, link }, optimisticResponse: { __typename: "Mutation", createApp: { __typename: "App", id: negativeRandom(), name, link } } }); And my <Mutation /> component looks like - <Mutation mutation={CREATE_APP} update={(cache, { data: { createApp } }) => { const data = cache.readQuery({ query: LIST_APPS