Skip to content

Add notifyOnNetworkStatusChange #38

@lorensr

Description

@lorensr

Waiting on: apollographql/react-apollo#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
  })
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions