Skip to content

Part 8d: Add token to header — Replace setContext with SetContextLink in Apollo setup #4202

@prugit

Description

@prugit

Starting with @apollo/client v4, the setContext function was replaced by SetContextLink. This change is documented in the Apollo docs: Context.
Existing pull request

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