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.
For example, before Relay 13, it was required to annotate
useLazyLoadQuerylike so:However, this is no longer required when used together with
relay_integration=trueFlow option, see: facebook/relay@3c45f95This issue proposes to remove or change
relay/generated-flow-typesrule to support this new way of using Relay 13.