Skip to content
Advertisement

Tag: react-apollo

Apollo fetchMore updates data globally

I have two TaskList components that use the same query GET_TASKS. Both use a different filter query variable which is passed down to them in props as queryVars. I defined a standard merge function in type policies to merge the incoming and existing data together. The TaskList component uses to retrieve the data. A Fetch more button has () =>

Advertisement