Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

[Question] How to extend Query component #1980

Closed
@malimccalla

Description

@malimccalla

Within a typescript project I am looking to achieve something like this

<UserQuery variables={variables}>
  {({ data }) => {
      ...
  }}
</UserQuery />

Following on from the docs I am trying to get UserQuery to extend the Query component in a way that means I do not have to pass the query prop in manually. UserQuery should already know what query to run.

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