Skip to content

Relay 13: some explicit types are no longer required #131

Description

@mrtnzlml

For example, before Relay 13, it was required to annotate useLazyLoadQuery like so:

const data = useLazyLoadQuery<NavigationHeaderBadgeQuery>(graphql` … `);

However, this is no longer required when used together with relay_integration=true Flow option, see: facebook/relay@3c45f95

This issue proposes to remove or change relay/generated-flow-types rule to support this new way of using Relay 13.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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