guide icon indicating copy to clipboard operation
guide copied to clipboard

Add notifyOnNetworkStatusChange

Open lorensr opened this issue 7 years ago • 0 comments

Waiting on: https://github.com/apollographql/react-apollo/issues/2324

Branch 8, after Now we’ve got login working.

export const withUser = graphql(USER_QUERY, {
  options: { notifyOnNetworkStatusChange: true },
  props: ({ data: { currentUser, loading } }) => ({
    user: currentUser,
    loggingIn: loading
  })
})

lorensr avatar Aug 30 '18 03:08 lorensr