Anyone that have played with React-Apollo 2.1? I don't seem to be able to resetStore() from Mutation component's onCompleted(). So I wonder if someone have a tip for doing this? (Simple solution I found was to pass props down, idk if that is stupid or not)
m
max
03/28/2018, 3:52 PM
@pettanko Why do you use resetStore()?
p
pettanko
03/28/2018, 3:53 PM
To clear the store after user login or logout. Apollo docs says it.
m
max
03/28/2018, 3:55 PM
thanks 🙂
max
03/28/2018, 4:14 PM
wow looks like <Query/> and <Mutation/> are big new additions to