This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
Current code break react hook rules #763
Labels
Area: dev experience
Package: react-graphql
stale
Stale issue that hasn't received any attention in a while
Type: Bug 🐛
Something isn't working
Overview
https://github.com/Shopify/quilt/blob/master/packages/react-graphql/src/hooks/query.ts#L41-L43
The above code break react hook rules and need to be corrected.
This bug was introduced in #726 and the fix should contain two parts investigations.
Figure out why the
react-hooks
linter did not break when this was introducedThe fix should not have early return but also does not attempt to resolve an async GraphQL document on the server when skip.
Consuming repo
Shopify/web
Labels
Type: Bug
label to this issue.Area
Area: <area>
labels to this issueScope
Is this issue related to a specific package?
Package: <package_name>
label.Checklist
The text was updated successfully, but these errors were encountered: